- Timestamp:
- Sep 28, 2010, 5:31:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupCollectionIdentifier.h
r7456 r7494 38 38 #include "PickupPrereqs.h" 39 39 40 #include <set> 41 40 42 #include "pickup/PickupIdentifier.h" 41 42 #include <set>43 43 44 44 namespace orxonox … … 47 47 /** 48 48 @brief 49 The PickupCollectionIdentifier is the specialization of the PickupIdentifier for the PickupCollection class. 50 It identifies PickupCollections based on the different Pickupables they consist of. 51 Pickupables can be added to the PickupCollectionIdentifier via the addPickup method. 49 The PickupCollectionIdentifier is the specialization of the PickupIdentifier for the @ref orxonox::PickupCollection "PickupCollection" class. 50 It identifies @ref orxonox::PickupCollection "PickupCollections" based on the different @ref orxonox::CollectiblePickup "CollectiblePickups" they consist of. 51 52 @ref orxonox::Pickupable "Pickupables" (resp. @ref orxonox::CollectiblePickup "CollectiblePickups") can be added to the PickupCollectionIdentifier via the addPickup method. 52 53 @author 53 54 Damian 'Mozork' Frick … … 62 63 virtual int compare(const PickupIdentifier* identifier) const; //!< Compares a PickupCollectionIdentifier with a PickupIdentifier. 63 64 64 void addPickup(const PickupIdentifier* identifier); //!< Add a Pickupableto the PickupCollectionIdentifier.65 void addPickup(const PickupIdentifier* identifier); //!< Add a @ref orxonox::Pickupable "Pickupable" to the PickupCollectionIdentifier. 65 66 66 67 private: 67 std::set<const PickupIdentifier*, PickupIdentifierCompare> identifiers_; //!< The set of PickupIdentifiers of the Pickupables the PickupCollection with this PickupCollectionIdentifier consists of, ordered by the rule set by PickupIdentifierCompare.68 std::set<const PickupIdentifier*, PickupIdentifierCompare> identifiers_; //!< The set of PickupIdentifiers of the @ref orxonox::Pickupable "Pickupables", the @ref orxonox::PickupCollection "PickupCollection" with this PickupCollectionIdentifier consists of, ordered by the rule set by @ref orxonox::PickupIdentifierCompare "PickupIdentifierCompare". 68 69 69 70 };
Note: See TracChangeset
for help on using the changeset viewer.