Changeset 6901 for code/trunk/src/orxonox/interfaces
- Timestamp:
- May 15, 2010, 8:47:07 AM (15 years ago)
- Location:
- code/trunk/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/Pickupable.cc
r6731 r6901 102 102 Returns true if the given PickupCarrier is a target. 103 103 */ 104 bool Pickupable::isTarget( constPickupCarrier* carrier) const104 bool Pickupable::isTarget(PickupCarrier* carrier) const 105 105 { 106 106 if(carrier == NULL) -
code/trunk/src/orxonox/interfaces/Pickupable.h
r6731 r6901 98 98 bool dropped(void); //!< Sets the Pickupable to not picked up or dropped. 99 99 100 virtual bool isTarget( constPickupCarrier* carrier) const; //!< Get whether the given PickupCarrier is a target of this pickup.100 virtual bool isTarget(PickupCarrier* carrier) const; //!< Get whether the given PickupCarrier is a target of this pickup. 101 101 bool isTarget(const Identifier* identifier) const; //!< Get whether a given class, represented by the input Identifier, is a target of this Pickupable. 102 102 bool addTarget(PickupCarrier* target); //!< Add a PickupCarrier as target of this pickup.
Note: See TracChangeset
for help on using the changeset viewer.