Changeset 4445 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- Jun 1, 2005, 10:30:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r4442 r4445 54 54 Orxonox::Orxonox () 55 55 { 56 this->pause = false; 57 58 this->world = NULL; 56 this->setClassID(CL_ORXONOX, "Orxonox"); 57 59 58 this->resourceManager = NULL; 60 59 this->objectManager = NULL; … … 72 71 int i =0; 73 72 Orxonox::singletonRef = NULL; 74 if( world != NULL) delete world;75 73 delete GraphicsEngine::getInstance(); // deleting the Graphics 76 74 delete ResourceManager::getInstance(); // deletes the Resource Manager 77 75 delete ObjectManager::getInstance(); 78 76 delete TextEngine::getInstance(); 77 delete EventHandler::getInstance(); 79 78 } 80 79 … … 236 235 237 236 238 /**239 \brief initializes the world240 */241 int Orxonox::initWorld()242 {243 //world = new World();244 245 // TO DO: replace this with a menu/intro246 //world->load_debug_level();247 248 return 0;249 }250 237 251 238 … … 296 283 297 284 298 285 /** 286 \brief processes the events for orxonox main class 287 \param the event to handle 288 */ 299 289 void Orxonox::process(const Event &event) 300 290 {} 301 291 302 303 304 /**305 \brief retrieve a pointer to the local World306 \return a pointer to world307 */308 World* Orxonox::getWorld()309 {310 return world;311 }312 313 /**314 \return The reference of the SDL-screen of orxonox315 */316 SDL_Surface* Orxonox::getScreen ()317 {318 return this->screen;319 }320 292 321 293
Note: See TracChangeset
for help on using the changeset viewer.