Changeset 7547 for code/trunk/src/modules/pickup/PickupCollection.cc
- Timestamp:
- Oct 16, 2010, 12:37:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupCollection.cc
r7533 r7547 235 235 Returns true if the PickupCarrier identified by the input PickupIdentififer it is a target of this PickupCollection, false if not. 236 236 */ 237 bool PickupCollection::isTarget( PickupCarrier* carrier) const237 bool PickupCollection::isTarget(const PickupCarrier* carrier) const 238 238 { 239 239 for(std::vector<CollectiblePickup*>::const_iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++) … … 253 253 Returns a pointer to the PickupIdentifier of this PickupCollection. 254 254 */ 255 const PickupIdentifier* PickupCollection::getPickupIdentifier(void) 255 const PickupIdentifier* PickupCollection::getPickupIdentifier(void) const 256 256 { 257 257 return this->pickupCollectionIdentifier_; … … 284 284 Returns a pointer to the Pickupable at the index given by index. 285 285 */ 286 const Pickupable* PickupCollection::getPickupable(unsigned int index) 286 const Pickupable* PickupCollection::getPickupable(unsigned int index) const 287 287 { 288 288 return this->pickups_[index];
Note: See TracChangeset
for help on using the changeset viewer.