Changeset 9667 for code/trunk/src/orxonox/interfaces/Pickupable.cc
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/interfaces/Pickupable.cc
r9348 r9667 34 34 #include "Pickupable.h" 35 35 36 #include "core/ Identifier.h"36 #include "core/class/Identifier.h" 37 37 #include "core/CoreIncludes.h" 38 38 #include "util/Convert.h" … … 46 46 namespace orxonox 47 47 { 48 RegisterAbstractClass(Pickupable).inheritsFrom(Class(OrxonoxInterface)).inheritsFrom(Class(Rewardable)); 48 49 49 50 /** … … 53 54 Pickupable::Pickupable() : used_(false), pickedUp_(false) 54 55 { 55 Register RootObject(Pickupable);56 RegisterObject(Pickupable); 56 57 57 58 this->carrier_ = NULL; … … 71 72 /** 72 73 @brief 73 A method that is called by OrxonoxClass::destroy() before the object is actually destroyed.74 A method that is called by Destroyable::destroy() before the object is actually destroyed. 74 75 */ 75 76 void Pickupable::preDestroy(void) … … 98 99 { 99 100 if(!this->isBeingDestroyed()) 100 this-> OrxonoxClass::destroy();101 this->Destroyable::destroy(); 101 102 else 102 103 orxout(internal_warning, context::pickups) << this->getIdentifier()->getName() << " may be unsafe. " << endl;
Note: See TracChangeset
for help on using the changeset viewer.