Changeset 4394 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_engine.cc
- Timestamp:
- May 30, 2005, 2:05:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_engine.cc
r4392 r4394 34 34 this->connections = new tList<PhysicsConnection>; 35 35 this->interfaces = new tList<PhysicsInterface>; 36 this->fields = new tList<Field>; 36 37 } 37 38 … … 81 82 { 82 83 this->interfaces->remove(physicsInterface); 84 } 85 86 /** 87 \brief adds a Field to the list of handeled fields 88 \param field the field to add 89 90 this is normally done in the constructor of any Field 91 */ 92 void PhysicsEngine::addField(Field* field) 93 { 94 this->fields->add(field); 95 } 96 97 /** 98 \brief removes a Field from the list of handeled fields 99 \param field the field to remove 100 101 this is normally done in the destructor of any Field 102 */ 103 void PhysicsEngine::removeField(Field* field) 104 { 105 this->fields->remove(field); 83 106 } 84 107
Note: See TracChangeset
for help on using the changeset viewer.