Changeset 5840 in orxonox.OLD for branches/spaceshipcontrol/src
- Timestamp:
 - Nov 30, 2005, 9:47:58 PM (20 years ago)
 - Location:
 - branches/spaceshipcontrol/src/world_entities
 - Files:
 - 
          
- 2 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/spaceshipcontrol/src/world_entities/player.cc
r5839 r5840 71 71 } 72 72 73 void Player::subscribeEvents() 74 { 75 //TODO: subscribe for all events!! 76 } 73 77 74 78 void Player::process(const Event &event) … … 77 81 } 78 82 83 void Player::setControllable(Playable controllalble) 84 { 85 this->controllable = controllable; 86 } 87 88 89 Playable* Player::getControllable() 90 { 91 return controllable; 92 } 93  - 
        
branches/spaceshipcontrol/src/world_entities/player.h
r5839 r5840 26 26 virtual ~Player(); 27 27 28 void init(); 28 void init(); 29 void subscribeEvents(); 29 30 30 virtual void process(const Event &event); 31 virtual void process(const Event &event); 32 33 void setControllable(Playable controllalble); 34 Playable* getControllable(); 31 35 32 36  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






