Changeset 8735 for code/branches/ai2/src/orxonox/controllers/Controller.h
- Timestamp:
- Jul 7, 2011, 3:59:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/Controller.h
r8706 r8735 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; } 65 69 virtual void changedControllableEntity() {} 66 70 … … 79 83 PlayerInfo* player_; 80 84 ControllableEntity* controllableEntity_; 85 bool bDeathFlag_; //<! Signal, when a controlled entity died. Flag is set in Pawn.cc and used in AIController. 81 86 private: 82 87 bool bGodMode_;
Note: See TracChangeset
for help on using the changeset viewer.