Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 17, 2010, 10:50:43 PM (14 years ago)
Author:
dafrick
Message:

Resolving some TODOs and doing some additional cleanup. Almost done now…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/interfaces/Pickupable.h

    r7547 r7552  
    6262    class _OrxonoxExport Pickupable : virtual public OrxonoxClass, public Rewardable
    6363    {
     64        friend class PickupCarrier;
     65
    6466        protected:
    6567            Pickupable(); //!< Default constructor.
     
    146148            bool setUsed(bool used); //!< Sets the Pickupable to used or unused, depending on the input.
    147149            bool setPickedUp(bool pickedUp); //!< Helper method to set the Pickupable to either picked up or not picked up.
    148             //TODO: private?
    149150            bool setCarrier(PickupCarrier* carrier, bool tell = true); //!< Sets the carrier of the Pickupable.
    150 
    151             //TODO: private?
    152             virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
    153151
    154152            void destroy(void); //!< Is called internally within the Pickupable module to destroy pickups.
     
    162160            virtual void preDestroy(void); //!< A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.
    163161            virtual void destroyPickup(void); //!< Destroys a Pickupable.
     162            virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
    164163
    165164            /**
Note: See TracChangeset for help on using the changeset viewer.