Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Aug 10, 2005, 11:26:59 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: removed the WorldInterface, as its job is already been taken by state.h
also removed some totally obsolete but very cool functions of NPC

File:
1 edited

Legend:

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

    r4961 r4977  
    2525
    2626class OggPlayer;
    27 //! The game world Interface
    28 /**
    29    this is a singleton interface, that enables world_entities to access the
    30    world. for those objects, there is no easier way than over this interface!
    31 */
    32 class WorldInterface : BaseObject {
    33 
    34  public:
    35   ~WorldInterface();
    36   static WorldInterface* getInstance();
    37   void init(World* world);
    38   inline World* getCurrentWorld() {return this->worldReference;}
    39   tList<WorldEntity>* getEntityList();
    40 
    41  private:
    42   WorldInterface();
    43   static WorldInterface* singletonRef;    //!< singleton reference to this object
    44   bool worldIsInitialized;                //!< true if the world has been initialized
    45   World* worldReference;                  //!< this is a reference to the running world
    46 
    47 };
    4827
    4928//! The game world
     
    11493
    11594  OggPlayer* music;
     95
    11696  // IMPORTANT WORLD-ENTITIES
    11797  PNode* nullParent;                  //!< The zero-point, that everything has as its parent.
Note: See TracChangeset for help on using the changeset viewer.