Changeset 6134 in orxonox.OLD for branches/objectmanager/src/util
- Timestamp:
- Dec 16, 2005, 5:16:00 PM (19 years ago)
- Location:
- branches/objectmanager/src/util
- Files:
-
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/util/Makefile.am
r5750 r6134 7 7 object_manager.cc \ 8 8 loading/factory.cc \ 9 garbage_collector.cc \10 9 state.cc \ 11 10 user_control.cc \ … … 19 18 track/pilot_node.cc \ 20 19 track/track_manager.cc \ 21 track/track_node.cc 20 track/track_node.cc 22 21 23 22 noinst_HEADERS = fast_factory.h \ 24 23 object_manager.h \ 25 garbage_collector.h \26 24 state.h \ 27 25 user_control.h \ -
branches/objectmanager/src/util/state.cc
r6121 r6134 30 30 31 31 ObjectManager* State::objectManager = NULL; 32 tList<WorldEntity>* State::worldEntityList = NULL;33 32 34 33 /** -
branches/objectmanager/src/util/state.h
r6121 r6134 10 10 class PNode; 11 11 class WorldEntity; 12 template<class T> class tList;13 12 class ObjectManager; 14 13 … … 43 42 /// WORLD_ENTITY_LIST /// 44 43 ///////////////////////// 45 /** @param worldEntityList The World's List of WorldEntities */46 static inline void setWorldEntityList(tList<WorldEntity>* worldEntityList) { State::worldEntityList = worldEntityList; };47 /** @returns the List of WorldEntities */48 static inline tList<WorldEntity>* getWorldEntityList() { return State::worldEntityList; };49 44 50 45 private: … … 56 51 static ObjectManager* objectManager; //!< A referenct to the current ObjectManager 57 52 58 static tList<WorldEntity>* worldEntityList; //!< The List of the worldEntities59 60 //tStack<61 53 }; 62 54
Note: See TracChangeset
for help on using the changeset viewer.