Changeset 4315 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- May 26, 2005, 11:38:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/object_manager.h
r4313 r4315 11 11 TO ADD SUPPORT FOR A CLASS do the following steps: 12 12 1. include the hader file : #include "class_header.h" 13 2. add the class to the type enum classList {}; 13 2. add the class to the type enum classList {}; in class_list.h 14 14 3. define a function void mCache( ClassName ) in class ObjectManager 15 15 … … 24 24 #include "list.h" 25 25 26 #define OM_ 27 28 29 //! list of all classes to be loadable in via the ObjectManager 30 typedef enum classList 31 { 32 CL_PROJECTILE, 33 CL_TEST_BULLET, 34 35 CL_NUMBER 36 }; 26 #include "class_list.h" 37 27 38 28
Note: See TracChangeset
for help on using the changeset viewer.