Changeset 7547 for code/trunk/src/modules/pickup/PickupCollection.h
- Timestamp:
- Oct 16, 2010, 12:37:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupCollection.h
r7533 r7547 38 38 #include "PickupPrereqs.h" 39 39 40 #include <list> 41 42 #include "CollectiblePickup.h" 40 43 #include "core/BaseObject.h" 41 #include "CollectiblePickup.h"42 43 #include <list>44 44 45 45 namespace orxonox … … 83 83 virtual void clone(OrxonoxClass*& item); //!< Creates a duplicate of the input pickup. 84 84 85 virtual bool isTarget( PickupCarrier* carrier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this PickupCollection.85 virtual bool isTarget(const PickupCarrier* carrier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this PickupCollection. 86 86 87 virtual const PickupIdentifier* getPickupIdentifier(void) ; //!< Get the PickupIdentifier of this PickupCollection.87 virtual const PickupIdentifier* getPickupIdentifier(void) const; //!< Get the PickupIdentifier of this PickupCollection. 88 88 89 89 bool addPickupable(CollectiblePickup* pickup); //!< Add the input Pickupable to list of Pickupables combined by this PickupCollection. 90 const Pickupable* getPickupable(unsigned int index) ; //!< Get the Pickupable at the given index.90 const Pickupable* getPickupable(unsigned int index) const; //!< Get the Pickupable at the given index. 91 91 92 92 void pickupChangedUsed(bool changed); //!< Informs the PickupCollection, that one of its pickups has changed its used status to the input value.
Note: See TracChangeset
for help on using the changeset viewer.