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/MetaPickup.cc

    r9318 r9320  
    147147    /**
    148148    @brief
    149         Creates a duplicate of the input OrxonoxClass.
    150     @param item
    151         A pointer to the Orxonox class.
    152     */
    153     void MetaPickup::clone(OrxonoxClass*& item)
    154     {
    155         if(item == NULL)
    156             item = new MetaPickup(this);
    157 
    158         SUPER(MetaPickup, clone, item);
    159 
    160         MetaPickup* pickup = orxonox_cast<MetaPickup*>(item);
    161         pickup->setMetaType(this->getMetaType());
    162     }
    163 
    164     /**
    165     @brief
    166149        Get the meta type of this MetaPickup.
    167150    @return
Note: See TracChangeset for help on using the changeset viewer.