Changeset 7494 for code/trunk/src/modules/pickup/CollectiblePickup.h
- Timestamp:
- Sep 28, 2010, 5:31:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/CollectiblePickup.h
r7493 r7494 46 46 The CollectiblePickup class encompasses all @ref orxonox::Pickupable "Pickupables" that can be added to a @ref orxonox::PickupCollection "PickupCollection" and thus be part of such. 47 47 48 All you need to do to make your @ref orxonox: .Pickupable "Pickupable" a CollectiblePickup is to, in some way, inherit from it. (The @ref orxonox::Pickup Pickupclass, for example, is already a CollectiblePickup).48 All you need to do to make your @ref orxonox::Pickupable "Pickupable" a CollectiblePickup is to, in some way, inherit from it. (The @ref orxonox::Pickup "Pickup" class, for example, is already a CollectiblePickup). 49 49 50 50 @author … … 63 63 /** 64 64 @brief Check whether the given CollectiblePickup is par of a PickupCollection. 65 @return Returns true if the Col elctiblePickup is part of a PickupCollection.65 @return Returns true if the CollectiblePickup is part of a PickupCollection. 66 66 */ 67 67 bool isInCollection(void) 68 68 { return this->isInCollection_; } 69 69 70 70 bool addToCollection(PickupCollection* collection); //!< Adds this CollectiblePickup to the input PickupCollection. 71 71 bool removeFromCollection(void); //!< Removes this CollectiblePickup from its PickupCollection. … … 75 75 protected: 76 76 virtual void preDestroy(void); //!< Is called by OrxonoxClass::destroy() before the object is actually destroyed. 77 virtual void destroyPickup(void); //!< //!<Destroys a Pickupable.77 virtual void destroyPickup(void); //!< Destroys a Pickupable. 78 78 79 79 private:
Note: See TracChangeset
for help on using the changeset viewer.