Changeset 6538 for code/trunk/src/orxonox/interfaces
- Timestamp:
- Mar 16, 2010, 6:15:45 PM (15 years ago)
- Location:
- code/trunk/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/Pickupable.cc
r6524 r6538 28 28 29 29 /** 30 @file 30 @file Pickupable.cc 31 31 @brief Implementation of the Pickupable class. 32 32 */ … … 96 96 /** 97 97 @brief 98 Get whether the given PickupCarrier is a target of this pickup.98 Get whether the given PickupCarrier is a target of this Pickupable. 99 99 @param carrier 100 The PickupCarrier of which it has to be determinde whether it is a target of this pickup.100 The PickupCarrier of which it has to be determinde whether it is a target of this Pickupable. 101 101 @return 102 102 Returns true if the given PickupCarrier is a target. … … 109 109 /** 110 110 @brief 111 Get whether a given class, represented by the input Identifier, is a target of this pickup.111 Get whether a given class, represented by the input Identifier, is a target of this Pickupable. 112 112 @param target 113 The Identifier of which it has to be determinde whether it is a target of this pickup.113 The Identifier of which it has to be determinde whether it is a target of this Pickupable. 114 114 @return 115 115 Returns true if the given Identifier is a target. … … 128 128 /** 129 129 @brief 130 Add a PickupCarrier as target of this pickup.130 Add a PickupCarrier as target of this Pickupable. 131 131 @param target 132 132 The PickupCarrier to be added. … … 141 141 /** 142 142 @brief 143 Add a class, representetd by the input Identifier, as target of this pickup.143 Add a class, representetd by the input Identifier, as target of this Pickupable. 144 144 @param target 145 145 The Identifier to be added. … … 199 199 /** 200 200 @brief 201 Sets the carrier of the pickup.201 Sets the carrier of the Pickupable. 202 202 @param carrier 203 203 Sets the input PickupCarrier as the carrier of the pickup. … … 265 265 This method needs to be implemented by any Class inheriting from Pickupable. 266 266 @param item 267 A pointer to the OrxonoxClass that is to be duplicated.267 A reference to a pointer to the OrxonoxClass that is to be duplicated. 268 268 */ 269 269 //TODO: Specify how the implementation must be done in detail. -
code/trunk/src/orxonox/interfaces/Pickupable.h
r6533 r6538 28 28 29 29 /** 30 @file 30 @file Pickupable.h 31 31 @brief Definition of the Pickupable class. 32 32 */ … … 100 100 101 101 bool isTarget(const PickupCarrier* carrier) const; //!< Get whether the given PickupCarrier is a target of this pickup. 102 virtual bool isTarget(Identifier* identifier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this pickup.102 virtual bool isTarget(Identifier* identifier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this Pickupable. 103 103 bool addTarget(PickupCarrier* target); //!< Add a PickupCarrier as target of this pickup. 104 104 bool addTarget(Identifier* identifier); //!< Add a class, representetd by the input Identifier, as target of this pickup. … … 123 123 @brief Helper method to initialize the PickupIdentifier. 124 124 */ 125 //TODO: Really needed?126 125 void initializeIdentifier(void) {} 127 126
Note: See TracChangeset
for help on using the changeset viewer.