Added a second SimAnn with the other controller.
authorladanyi
Wed, 17 Nov 2004 08:46:07 +0000
changeset 9995c846ec3f787
parent 998 89969b303727
child 1000 7f4d07047ed8
Added a second SimAnn with the other controller.
src/work/akos/simann_demo.cc
     1.1 --- a/src/work/akos/simann_demo.cc	Tue Nov 16 13:03:47 2004 +0000
     1.2 +++ b/src/work/akos/simann_demo.cc	Wed Nov 17 08:46:07 2004 +0000
     1.3 @@ -15,4 +15,11 @@
     1.4    MyEntity ent;
     1.5    simann.setEntity(ent);
     1.6    simann.run();
     1.7 +
     1.8 +  SimAnn<MyEntity> simann2;
     1.9 +  AdvancedController ctrl2(20.0);
    1.10 +  simann2.setController(ctrl2);
    1.11 +  MyEntity ent2;
    1.12 +  simann2.setEntity(ent2);
    1.13 +  simann2.run();
    1.14  }