- Timestamp:
- Jul 21, 2012, 3:51:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/InvisiblePickup.cc
r9318 r9320 132 132 /** 133 133 @brief 134 Creates a duplicate of the input OrxonoxClass.135 @param item136 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 @brief151 134 Sets the invisibility. 152 135 @param invisibility
Note: See TracChangeset
for help on using the changeset viewer.