Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2012, 3:51:06 PM (13 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/DronePickup.cc

    r9318 r9320  
    170170        return pawn;
    171171    }
    172 
    173     /**
    174     @brief
    175         Creates a duplicate of the input OrxonoxClass.
    176     @param item
    177         A pointer to the Orxonox class.
    178     */
    179     void DronePickup::clone(OrxonoxClass*& item)
    180     {
    181         if(item == NULL)
    182             item = new DronePickup(this);
    183 
    184         SUPER(DronePickup, clone, item);
    185 
    186         DronePickup* pickup = orxonox_cast<DronePickup*>(item);
    187         pickup->setDroneTemplate(this->getDroneTemplate());
    188     }
    189172}
Note: See TracChangeset for help on using the changeset viewer.