Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5206 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Sep 19, 2005, 12:31:56 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Shell no more singleton, and ShellInput is now derive from Text correctly

Location:
trunk/src/story_entities
Files:
2 edited

Legend:

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

    r5205 r5206  
    119119World::~World ()
    120120{
    121   delete Shell::getInstance();
     121  delete this->shell;
    122122  PRINTF(3)("World::~World() - deleting current world\n");
    123123
     
    200200
    201201  /* init the world interface */
    202   Shell::getInstance();
     202  this->shell = new Shell();
    203203
    204204  LightManager::getInstance();
  • trunk/src/story_entities/world.h

    r5205 r5206  
    2424class PilotNode;
    2525
     26class Shell;
    2627class OggPlayer;
    2728
     
    9394  char* path;                         //!< The file from which this world is loaded
    9495
    95 
     96  Shell*     shell;
    9697  OggPlayer* music;
    9798
Note: See TracChangeset for help on using the changeset viewer.