Changeset 4977 in orxonox.OLD for orxonox/trunk/src/story_entities/world.h
- Timestamp:
- Aug 10, 2005, 11:26:59 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.h
r4961 r4977 25 25 26 26 class OggPlayer; 27 //! The game world Interface28 /**29 this is a singleton interface, that enables world_entities to access the30 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 object44 bool worldIsInitialized; //!< true if the world has been initialized45 World* worldReference; //!< this is a reference to the running world46 47 };48 27 49 28 //! The game world … … 114 93 115 94 OggPlayer* music; 95 116 96 // IMPORTANT WORLD-ENTITIES 117 97 PNode* nullParent; //!< The zero-point, that everything has as its parent.
Note: See TracChangeset
for help on using the changeset viewer.