Changeset 4409 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- May 31, 2005, 12:24:50 AM (20 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4407 r4409 278 278 this->garbageCollector = GarbageCollector::getInstance(); 279 279 280 this->eventHandler = EventHandler::getInstance(); 281 280 282 this->particleEngine = ParticleEngine::getInstance(); 281 283 this->trackManager = TrackManager::getInstance(); … … 420 422 orx->getLocalInput()->bind (localPlayer); 421 423 422 EventHandler::getInstance()->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_UP); 424 this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_UP); 425 this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_DOWN); 426 this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_LEFT); 427 this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_RIGHT); 423 428 424 429 // bind camera -
orxonox/trunk/src/story_entities/world.h
r4396 r4409 26 26 class TiXmlElement; 27 27 class PilotNode; 28 class EventHandler; 28 29 29 30 //! The game world Interface … … 128 129 129 130 GarbageCollector* garbageCollector; //!< reference to the garbage collector 131 EventHandler* eventHandler; 130 132 131 133 /* function for main-loop */
Note: See TracChangeset
for help on using the changeset viewer.