Changeset 995 for code/branches/core2/src/orxonox/objects/test2.cc
- Timestamp:
- Apr 5, 2008, 6:46:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/objects/test2.cc
r871 r995 30 30 #include "test3.h" 31 31 #include "core/CoreIncludes.h" 32 #include "core/Executor.h" 32 33 33 34 namespace orxonox … … 43 44 this->usefullClass3_ = Class(Test3); 44 45 45 timer1.setTimer(1, true, this, &Test2::timerFunction1);46 timer2.setTimer(5, true, this, &Test2::timerFunction2);47 timer3.setTimer(10, false, this, &Test2::timerFunction3);46 timer1.setTimer(1, true, this, createExecutor(createFunctor(&Test2::timerFunction1))); 47 timer2.setTimer(5, true, this, createExecutor(createFunctor(&Test2::timerFunction2))); 48 timer3.setTimer(10, false, this, createExecutor(createFunctor(&Test2::timerFunction3))); 48 49 } 49 50
Note: See TracChangeset
for help on using the changeset viewer.