Changeset 4394 in orxonox.OLD for orxonox/trunk/src/lib/physics/fields
- Timestamp:
- May 30, 2005, 2:05:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/fields/field.cc
r4338 r4394 18 18 #include "field.h" 19 19 20 #include "physics_engine.h" 21 20 22 using namespace std; 21 23 … … 30 32 this->setMagnitude(1); 31 33 this->setAttenuation(0); 34 35 PhysicsEngine::getInstance()->addField(this); 32 36 } 33 37 … … 39 43 Field::~Field () 40 44 { 41 // delete what has to be deleted here45 PhysicsEngine::getInstance()->removeField(this); 42 46 } 43 47
Note: See TracChangeset
for help on using the changeset viewer.