Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3646 in orxonox.OLD for orxonox/trunk/src/story_entities/world.h


Ignore:
Timestamp:
Mar 23, 2005, 5:43:07 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: implemented garbage collector, is not yet collecting, i have to update the list.h first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.h

    r3644 r3646  
    2323class FontSet;
    2424class Terrain;
     25class GarbageCollector;
    2526
    2627//! The game world Interface
     
    5758  virtual ~World ();
    5859
     60  double getGameTime();
    5961
    6062  /* classes from story-entity */
     
    8890  Uint32 lastFrame;             //!< last time of frame
    8991  Uint32 dt;                    //!< time needed to calculate this frame
     92  double gameTime;              //!< this is where the game time is saved
    9093  bool bQuitOrxonox;            //!< quit this application
    9194  bool bQuitCurrentGame;        //!< quit only the current game and return to menu
     
    108111  tList<WorldEntity>* entities;//!< A template List of all entities. Every moving thing should be included here, and world automatically updates them.
    109112  WorldEntity* localPlayer;     //!< The Player, you fly through the level.
     113
     114  GarbageCollector* garbageCollector; //!< reference to the garbage  collector
    110115 
    111116  /* function for main-loop */
Note: See TracChangeset for help on using the changeset viewer.