Changeset 6475 for code/branches/pickup3/src/modules/pickup/PickupManager.h
- Timestamp:
- Mar 5, 2010, 6:26:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/PickupManager.h
r6474 r6475 71 71 static PickupManager& getInstance() { return Singleton<PickupManager>::getInstance(); } 72 72 73 bool registerRepresentation(const PickupIdentifier &identifier, PickupRepresentation* representation); //!< Registers a PickupRepresentation together with the PickupIdentifier of the Pickupable the PickupRepresentation represents.73 bool registerRepresentation(const PickupIdentifier* identifier, PickupRepresentation* representation); //!< Registers a PickupRepresentation together with the PickupIdentifier of the Pickupable the PickupRepresentation represents. 74 74 PickupRepresentation* getRepresentation(const PickupIdentifier* identifier); //!< Get the PickupRepresentation representing the Pickupable with the input PickupIdentifier. 75 75 … … 81 81 82 82 PickupRepresentation* defaultRepresentation_; //!< The default PickupRepresentation. 83 std::map<const PickupIdentifier , PickupRepresentation*, PickupIdentifierCompare> representations_; //!< Map linking PickupIdentifiers (representing types if Pickupables) and PickupRepresentations.83 std::map<const PickupIdentifier*, PickupRepresentation*, PickupIdentifierCompare> representations_; //!< Map linking PickupIdentifiers (representing types if Pickupables) and PickupRepresentations. 84 84 85 85 //TODO: Delete or utilize this.
Note: See TracChangeset
for help on using the changeset viewer.