Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4418 in orxonox.OLD


Ignore:
Timestamp:
May 31, 2005, 5:11:12 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: further work on debug level

Location:
orxonox/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/pilot_node.cc

    r4326 r4418  
    1919#include "pilot_node.h"
    2020#include "command_node.h"
    21 
     21#include "event.h"
    2222
    2323using namespace std;
     
    5454  //this->setAbsDir(Quaternion(M_PI * 0.4, Vector(1, 0, 0)));
    5555}
     56
     57
     58void PilotNode::process( const Event &event)
     59{
     60
     61}
  • orxonox/trunk/src/lib/coord/pilot_node.h

    r4326 r4418  
    1010#include "comincl.h"
    1111#include "p_node.h"
     12#include "event_listener.h"
    1213
    13 class PilotNode : public PNode {
     14class Event;
     15
     16class PilotNode : public PNode, public EventListener {
    1417
    1518 public:
     
    1922  void command(Command* cmd);
    2023
     24  void process(const Event &event);
     25
    2126};
    2227
  • orxonox/trunk/src/story_entities/world.cc

    r4412 r4418  
    601601        /*monitor progress*/
    602602        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
    603613
    604614        Field* testField = new Gravity();
Note: See TracChangeset for help on using the changeset viewer.