Changeset 2422 for code/branches/objecthierarchy2/src/orxonox/objects/worldentities/MovableEntity.cc
- Timestamp:
- Dec 13, 2008, 2:55:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/MovableEntity.cc
r2361 r2422 33 33 #include "core/XMLPort.h" 34 34 #include "core/Executor.h" 35 #include "tools/Timer.h"36 35 37 36 namespace orxonox … … 112 111 void MovableEntity::clientConnected(unsigned int clientID) 113 112 { 114 new Timer<MovableEntity>(rnd() * MAX_RESYNCHRONIZE_TIME, false, this, createExecutor(createFunctor(&MovableEntity::resynchronize)), true);113 this->resynchronizeTimer_.setTimer(rnd() * MAX_RESYNCHRONIZE_TIME, false, this, createExecutor(createFunctor(&MovableEntity::resynchronize))); 115 114 } 116 115
Note: See TracChangeset
for help on using the changeset viewer.