Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 24, 2013, 9:03:22 PM (11 years ago)
Author:
landauf
Message:

using Destroyable instead of OrxonoxClass now wherever the destruction-related members are addressed

Location:
code/branches/core6/src/orxonox/interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/orxonox/interfaces/Pickupable.cc

    r9563 r9571  
    7171    /**
    7272    @brief
    73         A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.
     73        A method that is called by Destroyable::destroy() before the object is actually destroyed.
    7474    */
    7575    void Pickupable::preDestroy(void)
     
    9898    {
    9999        if(!this->isBeingDestroyed())
    100             this->OrxonoxClass::destroy();
     100            this->Destroyable::destroy();
    101101        else
    102102            orxout(internal_warning, context::pickups) << this->getIdentifier()->getName() << " may be unsafe. " << endl;
  • code/branches/core6/src/orxonox/interfaces/Pickupable.h

    r9563 r9571  
    144144
    145145        protected:
    146             virtual void preDestroy(void); //!< A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.
     146            virtual void preDestroy(void); //!< A method that is called by Destroyable::destroy() before the object is actually destroyed.
    147147            virtual void destroyPickup(void); //!< Destroys a Pickupable.
    148148            virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
Note: See TracChangeset for help on using the changeset viewer.