Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 28, 2005, 11:56:46 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more loading (especially for physics)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/physics/physics_engine.h

    r4558 r4728  
    1616// Forward Declaration
    1717template<class T> class tList;
    18 
     18class TiXmlElement;
    1919
    2020//! A class, that brings things into motion through Physics.
     
    2626  inline static PhysicsEngine* getInstance(void) { if (!singletonRef) singletonRef = new PhysicsEngine();  return singletonRef; };
    2727
    28   void addPhysicsInterface(PhysicsInterface* physicsInterface);
    29   void removePhysicsInterface(PhysicsInterface* physicsInterface);
     28  void loadParams(const TiXmlElement* root);
    3029
    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;
    3333
    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;
    3637
    37   void tick(float dt);
     38  void                   addConnection(PhysicsConnection* connection);
     39  void                   removeConnection(PhysicsConnection* connection);
     40  PhysicsConnection*     getPhysicsConnectionByName(const char* physicsConnectionName) const;
    3841
    39   void debug(void) const;
     42
     43  void                   tick(float dt);
     44
     45  void                   debug(void) const;
    4046
    4147 private:
Note: See TracChangeset for help on using the changeset viewer.