Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2012, 3:51:06 PM (12 years ago)
Author:
landauf
Message:

removed Pickupable::clone() because it is not needed anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pickup/items/InvisiblePickup.cc

    r9318 r9320  
    132132    /**
    133133    @brief
    134         Creates a duplicate of the input OrxonoxClass.
    135     @param item
    136         A pointer to the Orxonox class.
    137     */
    138     void InvisiblePickup::clone(OrxonoxClass*& item)
    139     {
    140         if(item == NULL)
    141             item = new InvisiblePickup(this);
    142 
    143         SUPER(InvisiblePickup, clone, item);
    144 
    145         InvisiblePickup* pickup = orxonox_cast<InvisiblePickup*>(item);
    146         pickup->setDuration(this->getDuration());
    147     }
    148 
    149     /**
    150     @brief
    151134        Sets the invisibility.
    152135    @param invisibility
Note: See TracChangeset for help on using the changeset viewer.