Changeset 4728 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_engine.h
- Timestamp:
- Jun 28, 2005, 11:56:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_engine.h
r4558 r4728 16 16 // Forward Declaration 17 17 template<class T> class tList; 18 18 class TiXmlElement; 19 19 20 20 //! A class, that brings things into motion through Physics. … … 26 26 inline static PhysicsEngine* getInstance(void) { if (!singletonRef) singletonRef = new PhysicsEngine(); return singletonRef; }; 27 27 28 void addPhysicsInterface(PhysicsInterface* physicsInterface); 29 void removePhysicsInterface(PhysicsInterface* physicsInterface); 28 void loadParams(const TiXmlElement* root); 30 29 31 void addField(Field* field); 32 void removeField(Field* field); 30 void addPhysicsInterface(PhysicsInterface* physicsInterface); 31 void removePhysicsInterface(PhysicsInterface* physicsInterface); 32 PhysicsInterface* getPhysicsInterfaceByName(const char* physicsInterfaceName) const; 33 33 34 void addConnection(PhysicsConnection* connection); 35 void removeConnection(PhysicsConnection* connection); 34 void addField(Field* field); 35 void removeField(Field* field); 36 Field* getFieldByName(const char* FieldName) const; 36 37 37 void tick(float dt); 38 void addConnection(PhysicsConnection* connection); 39 void removeConnection(PhysicsConnection* connection); 40 PhysicsConnection* getPhysicsConnectionByName(const char* physicsConnectionName) const; 38 41 39 void debug(void) const; 42 43 void tick(float dt); 44 45 void debug(void) const; 40 46 41 47 private:
Note: See TracChangeset
for help on using the changeset viewer.