Changeset 5850 in orxonox.OLD for branches/spaceshipcontrol
- Timestamp:
- Dec 1, 2005, 5:07:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/player.cc
r5849 r5850 62 62 void Player::subscribeEvents() 63 63 { 64 //TODO: subscribe for all events!! 64 EventHandler* evh = EventHandler::getInstance(); 65 for (int i = 1; i < SDLK_LAST; i++) 66 { 67 if (!evh->isSubscribed(ES_GAME, i)) 68 evh->subscribe(this, ES_GAME, i); 69 } 70 65 71 } 66 72
Note: See TracChangeset
for help on using the changeset viewer.