Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4442 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Jun 1, 2005, 10:07:53 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: command node removed from source files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4438 r4442  
    5050#include "fields.h"
    5151
    52 #include "command_node.h"
    5352#include "glmenu_imagescreen.h"
    5453#include "list.h"
     
    418417 
    419418  // bind input
    420   Orxonox *orx = Orxonox::getInstance ();
    421   orx->getLocalInput()->bind (localPlayer);
    422 
    423419  this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_UP);
    424420  this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_DOWN);
     
    696692  this->bPause = false;
    697693  this->pilotNode = NULL;
    698   CommandNode* cn = Orxonox::getInstance()->getLocalInput();
    699   cn->addToWorld(this);
    700   cn->enable(true);
    701694}
    702695
Note: See TracChangeset for help on using the changeset viewer.