Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 16, 2010, 12:37:09 PM (14 years ago)
Author:
dafrick
Message:

Documenting and cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/pickup/PickupCollection.cc

    r7533 r7547  
    235235        Returns true if the PickupCarrier identified by the input PickupIdentififer it is a target of this PickupCollection, false if not.
    236236    */
    237     bool PickupCollection::isTarget(PickupCarrier* carrier) const
     237    bool PickupCollection::isTarget(const PickupCarrier* carrier) const
    238238    {
    239239        for(std::vector<CollectiblePickup*>::const_iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++)
     
    253253        Returns a pointer to the PickupIdentifier of this PickupCollection.
    254254    */
    255     const PickupIdentifier* PickupCollection::getPickupIdentifier(void)
     255    const PickupIdentifier* PickupCollection::getPickupIdentifier(void) const
    256256    {
    257257        return this->pickupCollectionIdentifier_;
     
    284284        Returns a pointer to the Pickupable at the index given by index.
    285285    */
    286     const Pickupable* PickupCollection::getPickupable(unsigned int index)
     286    const Pickupable* PickupCollection::getPickupable(unsigned int index) const
    287287    {
    288288        return this->pickups_[index];
Note: See TracChangeset for help on using the changeset viewer.