Changeset 4320 in orxonox.OLD for orxonox/trunk/src/proto
- Timestamp:
- May 27, 2005, 1:13:42 AM (20 years ago)
- Location:
- orxonox/trunk/src/proto
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/proto/proto_class.cc
r3955 r4320 27 27 ProtoClass::ProtoClass () 28 28 { 29 this->setClassName ("ProtoClass"); 29 this->setClassID(CL_PROTO_ID, "ProtoClass"); 30 31 /* If you make a new class, what is most probably the case when you write this file 32 don't forget to: 33 1. Add the new file new_class.cc to the ./src/Makefile.am 34 2. Add the class identifier to ./src/class_list.h eg. CL_NEW_CLASS 35 36 Advanced Topics: 37 - if you want to let your object be managed via the ObjectManager make sure to read 38 the object_manager.h header comments. You will use this most certanly only if you 39 make many objects of your class, like a weapon bullet. 40 */ 30 41 } 31 42 -
orxonox/trunk/src/proto/proto_singleton.cc
r3655 r4320 26 26 ProtoSingleton::ProtoSingleton () 27 27 { 28 this->setClassName ("ProtoSingleton"); 28 this->setClassName("ProtoSingleton"); 29 this->setClassID(CL_PROTO_ID, "ProtoSingleton"); 29 30 31 /* If you make a new class, what is most probably the case when you write this file 32 don't forget to: 33 1. Add the new file new_class.cc to the ./src/Makefile.am 34 2. Add the class identifier to ./src/class_list.h eg. CL_NEW_CLASS 35 36 Advanced Topics: 37 - if you want to let your object be managed via the ObjectManager make sure to read 38 the object_manager.h header comments. You will use this most certanly only if you 39 make many objects of your class, like a weapon bullet. 40 */ 30 41 } 31 42
Note: See TracChangeset
for help on using the changeset viewer.