Changeset 3543 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- Mar 14, 2005, 10:14:41 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r3526 r3543 48 48 Orxonox::~Orxonox () 49 49 { 50 this->destroy(); 51 } 52 53 /** 54 \brief destroys orxonox. Frees al memory and so on. 55 */ 56 void Orxonox::destroy(void) 57 { 50 58 Orxonox::singletonRef = NULL; 51 59 if( world != NULL) delete world; … … 53 61 if( localcamera != NULL) delete localcamera; 54 62 if( resources != NULL) delete resources; 55 } 56 63 64 65 } 57 66 58 67 /** \brief this is a singleton class to prevent duplicates */
Note: See TracChangeset
for help on using the changeset viewer.