Changeset 3544 in orxonox.OLD for orxonox/trunk/src/world_entities/world_entity.cc
- Timestamp:
- Mar 14, 2005, 10:54:00 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/world_entity.cc
r3531 r3544 47 47 { 48 48 // if( collisioncluster != NULL) delete collisioncluster; 49 this->destroy(); 50 } 51 52 /** 53 \brief Function to call if a WorldEntity is destroyed. deletes all alocated memory. 54 */ 55 void WorldEntity::destroy() 56 { 57 58 // delete everything of pNode. 59 static_cast<PNode*>(this)->destroy(); 60 } 61 49 50 } 62 51 63 52 /**
Note: See TracChangeset
for help on using the changeset viewer.