- Timestamp:
- May 31, 2005, 5:20:49 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4418 r4419 186 186 //delete garbagecollecor 187 187 //delete animator 188 189 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_UP); 190 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_DOWN); 191 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_LEFT); 192 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_RIGHT); 193 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_FIRE1); 194 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_NEXT_WEAPON); 195 this->eventHandler->unsubscribe(ES_GAME, KeyMapper::PEV_PREVIOUS_WEAPON); 196 188 197 189 198 LoadClassDescription::printAll(); -
orxonox/trunk/src/util/event/event_handler.cc
r4417 r4419 115 115 116 116 117 void EventHandler::unsubscribe( int eventType, elState state)117 void EventHandler::unsubscribe(elState state, int eventType) 118 118 { 119 119 PRINTF(0)("Unsubscribing event type nr: %i\n", eventType); -
orxonox/trunk/src/util/event/event_handler.h
r4407 r4419 27 27 28 28 void subscribe(EventListener* el, elState state, int eventType); 29 void unsubscribe( int eventType, elState state);29 void unsubscribe(elState state, int eventType); 30 30 void flush(elState state); 31 31 -
orxonox/trunk/src/world_entities/camera.cc
r4414 r4419 57 57 Camera::~Camera(void) 58 58 { 59 EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW0); 60 EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW1); 61 EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW2); 62 EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW3); 63 EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW4); 64 EventHandler::getInstance()->unsubscribe(ES_GAME, KeyMapper::PEV_VIEW5); 59 65 } 60 66
Note: See TracChangeset
for help on using the changeset viewer.