Changeset 8758 for code/branches/ai2/src/orxonox/controllers/Controller.h
- Timestamp:
- Jul 14, 2011, 10:29:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/Controller.h
r8735 r8758 63 63 inline ControllableEntity* getControllableEntity() const 64 64 { return this->controllableEntity_; } 65 inline void setDeathFlag()66 { this->bDeathFlag_ = true; }67 inline void resetDeathFlag()68 { this->bDeathFlag_ = false; }69 65 virtual void changedControllableEntity() {} 70 66 … … 83 79 PlayerInfo* player_; 84 80 ControllableEntity* controllableEntity_; 85 bool bDeathFlag_; //<! Signal, when a controlled entity died. Flag is set in Pawn.cc and used in AIController.86 81 private: 87 82 bool bGodMode_;
Note: See TracChangeset
for help on using the changeset viewer.