Changeset 7552 for code/trunk/src/orxonox/interfaces/Pickupable.h
- Timestamp:
- Oct 17, 2010, 10:50:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/Pickupable.h
r7547 r7552 62 62 class _OrxonoxExport Pickupable : virtual public OrxonoxClass, public Rewardable 63 63 { 64 friend class PickupCarrier; 65 64 66 protected: 65 67 Pickupable(); //!< Default constructor. … … 146 148 bool setUsed(bool used); //!< Sets the Pickupable to used or unused, depending on the input. 147 149 bool setPickedUp(bool pickedUp); //!< Helper method to set the Pickupable to either picked up or not picked up. 148 //TODO: private?149 150 bool setCarrier(PickupCarrier* carrier, bool tell = true); //!< Sets the carrier of the Pickupable. 150 151 //TODO: private?152 virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.153 151 154 152 void destroy(void); //!< Is called internally within the Pickupable module to destroy pickups. … … 162 160 virtual void preDestroy(void); //!< A method that is called by OrxonoxClass::destroy() before the object is actually destroyed. 163 161 virtual void destroyPickup(void); //!< Destroys a Pickupable. 162 virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed. 164 163 165 164 /**
Note: See TracChangeset
for help on using the changeset viewer.