Changeset 4392 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_engine.cc
- Timestamp:
- May 30, 2005, 1:30:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_engine.cc
r4381 r4392 33 33 34 34 this->connections = new tList<PhysicsConnection>; 35 this->interfaces = new tList<PhysicsInterface>; 35 36 } 36 37 … … 57 58 { 58 59 PhysicsEngine::singletonRef = NULL; 60 } 61 62 63 /** 64 \brief adds a PhysicsInterface to the list of handeled physicsInterfaces 65 \param physicsInterface the interface to add 66 67 this is normally done in the constructor of any PhysicsInterface 68 */ 69 void PhysicsEngine::addPhysicsInterface(PhysicsInterface* physicsInterface) 70 { 71 this->interfaces->add(physicsInterface); 72 } 73 74 /** 75 \brief removes a PhysicsInterface from the list of handeled physicsInterfaces 76 \param physicsInterface the interface to remove 77 78 this is normally done in the destructor of any PhysicsInterface 79 */ 80 void PhysicsEngine::removePhysicsInterface(PhysicsInterface* physicsInterface) 81 { 82 this->interfaces->remove(physicsInterface); 59 83 } 60 84 … … 114 138 PRINT(0)("====================================\n"); 115 139 PRINT(0)(" reference: %p\n", this); 116 PRINT(0)(" numbers of Connections: %d\n", this->connections->getSize()); 140 PRINT(0)(" number of Interfaces: %d\n", this->interfaces->getSize()); 141 PRINT(0)(" number of Connections: %d\n", this->connections->getSize()); 117 142 118 143 PRINT(0)("==============================PHYS==\n");
Note: See TracChangeset
for help on using the changeset viewer.