Changeset 10067 for code/branches/modularships/src/orxonox/items/ShipPart.h
- Timestamp:
- May 21, 2014, 10:38:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/modularships/src/orxonox/items/ShipPart.h
r10058 r10067 52 52 53 53 virtual void death(); 54 virtual void explode(); 54 55 55 56 //virtual void attachTo(Pawn* newParent); … … 62 63 void addDestructionEvent(PartDestructionEvent* event); 63 64 PartDestructionEvent* getDestructionEvent(unsigned int index); 64 65 void printEntities(); // FIXME: (noep) remove debug66 65 67 66 virtual void setDamageAbsorption(float value); … … 101 100 { return this->initialHealth_; } 102 101 102 inline void setExplosionPosition(Vector3 pos) 103 { this->explosionPosition_ = pos; } 104 inline Vector3 getExplosionPosition() 105 { return this->explosionPosition_; } 106 103 107 104 108 // FIXME: (noep) Why doesn't this work? Works fine in Engine.h … … 121 125 bool eventExecution_; 122 126 127 Vector3 explosionPosition_; 128 123 129 124 130 }; // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.