src/work/akos/simann_demo.cc
changeset 1000 7f4d07047ed8
parent 965 1e16b8dac159
child 1023 3268fef5d623
equal deleted inserted replaced
1:6113f7351c80 2:8a7856ad0a5f
    13   SimpleController ctrl;
    13   SimpleController ctrl;
    14   simann.setController(ctrl);
    14   simann.setController(ctrl);
    15   MyEntity ent;
    15   MyEntity ent;
    16   simann.setEntity(ent);
    16   simann.setEntity(ent);
    17   simann.run();
    17   simann.run();
       
    18 
       
    19   SimAnn<MyEntity> simann2;
       
    20   AdvancedController ctrl2(20.0);
       
    21   simann2.setController(ctrl2);
       
    22   MyEntity ent2;
       
    23   simann2.setEntity(ent2);
       
    24   simann2.run();
    18 }
    25 }