Changeset 9709 in orxonox.OLD for branches/new_class_id/src/world_entities/planet.cc
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/planet.cc
r9406 r9709 32 32 33 33 34 35 CREATE_FACTORY(Planet, CL_PLANET);36 34 #include "class_id.h" 35 NewObjectListDefinitionID(Planet, CL_PLANET); 36 CREATE_FACTORY(Planet); 37 37 38 38 … … 42 42 Planet::Planet(const TiXmlElement* root) 43 43 { 44 this-> setClassID(CL_PLANET, "Planet");44 this->registerObject(this, Planet::_objectList); 45 45 this->toList(OM_GROUP_01); 46 46
Note: See TracChangeset
for help on using the changeset viewer.