Changeset 10634 in orxonox.OLD for branches/inputdevice/src/world_entities/player.cc
- Timestamp:
- Apr 19, 2007, 11:45:56 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/inputdevice/src/world_entities/player.cc
r10632 r10634 17 17 #include "playable.h" 18 18 #include "space_ships/space_ship.h" 19 #include "script_triggers/action_trigger.h"20 19 21 20 #include "event_handler.h" … … 41 40 42 41 this->subscribeEvent(ES_GAME, KeyMapper::PEV_CHANGE_SHIP); 43 this->subscribeEvent(ES_GAME, KeyMapper::PEV_ACTION);44 42 } 45 43 … … 134 132 this->enterNewPlayable(); 135 133 } 136 else if(event.type == KeyMapper::PEV_ACTION && event.bPressed)137 {138 for (ObjectList<ActionTrigger>::const_iterator it = ActionTrigger::objectList().begin();139 it != ActionTrigger::objectList().end();140 ++it)141 (*it)->executeAction();142 }143 134 144 135 if (likely(this->playable != NULL))
Note: See TracChangeset
for help on using the changeset viewer.