Changeset 4418 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 31, 2005, 5:11:12 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/pilot_node.cc
r4326 r4418 19 19 #include "pilot_node.h" 20 20 #include "command_node.h" 21 21 #include "event.h" 22 22 23 23 using namespace std; … … 54 54 //this->setAbsDir(Quaternion(M_PI * 0.4, Vector(1, 0, 0))); 55 55 } 56 57 58 void PilotNode::process( const Event &event) 59 { 60 61 } -
orxonox/trunk/src/lib/coord/pilot_node.h
r4326 r4418 10 10 #include "comincl.h" 11 11 #include "p_node.h" 12 #include "event_listener.h" 12 13 13 class PilotNode : public PNode { 14 class Event; 15 16 class PilotNode : public PNode, public EventListener { 14 17 15 18 public: … … 19 22 void command(Command* cmd); 20 23 24 void process(const Event &event); 25 21 26 }; 22 27 -
orxonox/trunk/src/story_entities/world.cc
r4412 r4418 601 601 /*monitor progress*/ 602 602 this->glmis->step(); 603 604 605 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_UP); 606 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_DOWN); 607 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_LEFT); 608 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_RIGHT); 609 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_FIRE1); 610 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_NEXT_WEAPON); 611 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_PREVIOUS_WEAPON); 612 603 613 604 614 Field* testField = new Gravity();
Note: See TracChangeset
for help on using the changeset viewer.