- Timestamp:
- Jul 21, 2012, 3:51:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/DronePickup.cc
r9318 r9320 170 170 return pawn; 171 171 } 172 173 /**174 @brief175 Creates a duplicate of the input OrxonoxClass.176 @param item177 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 }189 172 }
Note: See TracChangeset
for help on using the changeset viewer.