Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4286 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
May 25, 2005, 11:59:21 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented the objectmanager cache function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4262 r4286  
    3535#include "graphics_engine.h"
    3636#include "resource_manager.h"
     37#include "object_manager.h"
    3738#include "text_engine.h"
    3839#include "factory.h"
     
    5657  this->world = NULL;
    5758  this->localinput = NULL;
     59  this->resourceManager = NULL;
     60  this->objectManager = NULL;
    5861
    5962  this->argc = 0;
     
    7275  delete GraphicsEngine::getInstance(); // deleting the Graphics
    7376  delete ResourceManager::getInstance(); // deletes the Resource Manager
     77  delete ObjectManager::getInstance();
    7478  delete TextEngine::getInstance();
    7579}
     
    225229  TextEngine::getInstance();
    226230
     231  PRINT(3)("initializing ObjectManager\n");
     232  this->objectManager = ObjectManager::getInstance();
     233
    227234  return 0;
    228235}
Note: See TracChangeset for help on using the changeset viewer.