Changeset 9686 in orxonox.OLD for branches/new_class_id/src/lib/physics/fields/gravity.cc
- Timestamp:
- Aug 22, 2006, 2:36:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/physics/fields/gravity.cc
r9406 r9686 21 21 #include "util/loading/factory.h" 22 22 23 23 #include "class_id.h" 24 NewObjectListDefinitionID(Gravity, CL_FIELD_GRAVITY); 24 25 25 26 CREATE_FACTORY(Gravity, CL_FIELD_GRAVITY); … … 27 28 Gravity::Gravity(const TiXmlElement* root) 28 29 { 29 this-> setClassID(CL_FIELD_GRAVITY, "Gravity");30 this->registerObject(this, Gravity::_objectList); 30 31 31 32 if (root != NULL)
Note: See TracChangeset
for help on using the changeset viewer.