Changeset 9869 in orxonox.OLD for trunk/src/proto/proto_class.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/proto/proto_class.cc
r9406 r9869 17 17 18 18 #include "proto_class.h" 19 ObjectListDefinition(ProtoClass); 19 20 20 21 … … 27 28 ProtoClass::ProtoClass () 28 29 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");30 this->registerObject(this, ProtoClass::_objectList); 30 31 31 32 /* If you make a new class, what is most probably the case when you write this file 32 33 don't forget to: 33 34 1. Add the new file new_class.cc to the ./src/Makefile.am 34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 35 36 36 Advanced Topics:
Note: See TracChangeset
for help on using the changeset viewer.