Changeset 9797 for code/trunk/src/orxonox/controllers/Controller.h
- Timestamp:
- Nov 21, 2013, 3:57:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/Controller.h
r9667 r9797 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "core/BaseObject.h" 34 #include "core/class/Super.h" 34 35 35 36 namespace orxonox … … 44 45 Controller(Context* context); 45 46 virtual ~Controller(); 46 47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 48 inline void setPlayer(PlayerInfo* player) 48 49 { this->player_ = player; } 49 50 inline PlayerInfo* getPlayer() const 50 51 { return this->player_; } 52 inline void setTeam(int team) 53 { this->team_ = team; } 54 inline int getTeam() const 55 { return this->team_; } 51 56 52 57 virtual void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage) {}; … … 79 84 PlayerInfo* player_; 80 85 ControllableEntity* controllableEntity_; 86 int team_; 81 87 private: 82 88 bool bGodMode_;
Note: See TracChangeset
for help on using the changeset viewer.