Changeset 9571 for code/branches/core6/src/orxonox/interfaces
- Timestamp:
- Mar 24, 2013, 9:03:22 PM (12 years ago)
- Location:
- code/branches/core6/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/orxonox/interfaces/Pickupable.cc
r9563 r9571 71 71 /** 72 72 @brief 73 A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.73 A method that is called by Destroyable::destroy() before the object is actually destroyed. 74 74 */ 75 75 void Pickupable::preDestroy(void) … … 98 98 { 99 99 if(!this->isBeingDestroyed()) 100 this-> OrxonoxClass::destroy();100 this->Destroyable::destroy(); 101 101 else 102 102 orxout(internal_warning, context::pickups) << this->getIdentifier()->getName() << " may be unsafe. " << endl; -
code/branches/core6/src/orxonox/interfaces/Pickupable.h
r9563 r9571 144 144 145 145 protected: 146 virtual void preDestroy(void); //!< A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.146 virtual void preDestroy(void); //!< A method that is called by Destroyable::destroy() before the object is actually destroyed. 147 147 virtual void destroyPickup(void); //!< Destroys a Pickupable. 148 148 virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
Note: See TracChangeset
for help on using the changeset viewer.