Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4409 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
May 31, 2005, 12:24:50 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: space ship control works again, now working on system commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4407 r4409  
    278278  this->garbageCollector = GarbageCollector::getInstance();
    279279
     280  this->eventHandler = EventHandler::getInstance();
     281
    280282  this->particleEngine = ParticleEngine::getInstance();
    281283  this->trackManager = TrackManager::getInstance();
     
    420422  orx->getLocalInput()->bind (localPlayer);
    421423
    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);
    423428 
    424429  // bind camera
Note: See TracChangeset for help on using the changeset viewer.