Changeset 10053 for code/branches/modularships/src/orxonox/items/ShipPart.h
- Timestamp:
- May 13, 2014, 11:45:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/src/orxonox/items/ShipPart.h
r10052 r10053 73 73 { return this->parent_; } 74 74 75 inline void setAlive(bool var) 76 { this->alive_ = var; } 77 inline bool isAlive() 78 { return this->alive_; } 79 75 80 virtual void setHealth(float health); 76 81 inline void addHealth(float health) … … 108 113 std::vector<PartDestructionEvent*> eventList_; // The list of all PartDestructionEvent assigned to this ShipPart. 109 114 115 bool alive_; 116 110 117 111 118 }; // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.