Changeset 9293 for code/branches/presentation2012merge/src/orxonox
- Timestamp:
- Jun 11, 2012, 10:57:40 PM (12 years ago)
- Location:
- code/branches/presentation2012merge/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/orxonox/interfaces/Pickupable.cc
r9279 r9293 104 104 void Pickupable::destroyPickup(void) 105 105 { 106 if(!this-> beingDestroyed_)106 if(!this->isBeingDestroyed()) 107 107 this->OrxonoxClass::destroy(); 108 108 else -
code/branches/presentation2012merge/src/orxonox/interfaces/Pickupable.h
r8866 r9293 172 172 inline void setDisabled(void) 173 173 { this->enabled_ = false; } 174 175 /** 176 @brief Check whether the Pickupable is in the process of being destroyed. 177 @return Returns true if so. 178 */ 179 inline bool isBeingDestroyed(void) 180 { return this->beingDestroyed_; } 174 181 175 182 /**
Note: See TracChangeset
for help on using the changeset viewer.