Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5296 in orxonox.OLD for trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Oct 7, 2005, 10:42:22 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: modiefied PNode to match Element2D's removal methods.
see destructor header for more detail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/world.cc

    r5294 r5296  
    128128
    129129
     130  // delete all the initialized Engines.
    130131  delete LightManager::getInstance();
    131132  delete TrackManager::getInstance();
    132133  delete ParticleEngine::getInstance();
    133   delete AnimationPlayer::getInstance(); // this should be at the end of the unloading sequence.
     134  delete AnimationPlayer::getInstance();
    134135  delete PhysicsEngine::getInstance();
    135136
     
    142143  // erease everything that is left.
    143144  delete NullParent::getInstance();
    144   delete NullParent::getInstance();
    145145
    146146  // unload the resources !!
    147147  ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL);
    148 
    149 
    150   EventHandler::getInstance()->debug();
    151   ClassList::debug(CL_PARENT_NODE, 3);
    152 //  exit(-1);
    153148
    154149  delete[] this->path;
Note: See TracChangeset for help on using the changeset viewer.