Changeset 4591 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jun 10, 2005, 6:21:25 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/object_manager.h
r4519 r4591 1 /*! 1 /*! 2 2 \file object_manager.h 3 3 \brief this manager will ceep track of the objects in the world 4 4 5 5 This is specially designed to: 6 6 - Give an interface to the world data … … 25 25 26 26 #include "class_list.h" 27 27 28 28 29 29 class WorldEntity; … … 33 33 //! This defines the "template" macro function for cache(...) 34 34 #define mCache( Class ) \ 35 cache( classListindex, int number, Class * copyObject) \35 cache(ClassID index, int number, Class * copyObject) \ 36 36 { \ 37 37 this->managedObjectList[index] = new tList<BaseObject>(); \ … … 51 51 /** \returns a Pointer to the only object of this Class */ 52 52 inline static ObjectManager* getInstance(void) { if (!singletonRef) singletonRef = new ObjectManager(); return singletonRef; }; 53 53 54 54 /** a class handled by the objectManage */ 55 55 void mCache(Projectile);
Note: See TracChangeset
for help on using the changeset viewer.