Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2005, 1:30:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: physicsInterfaces now check in at constuctiontime with the PhysicsEngine

File:
1 edited

Legend:

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

    r4378 r4392  
    99
    1010#include "base_object.h"
     11
    1112#include "physics_connection.h"
     13#include "physics_interface.h"
    1214
    1315// Forward Declaration
     
    2224  virtual ~PhysicsEngine(void);
    2325
     26  void addPhysicsInterface(PhysicsInterface* physicsInterface);
     27  void removePhysicsInterface(PhysicsInterface* physicsInterface);
     28
     29
    2430  void addConnection(PhysicsConnection* connection);
    2531  void removeConnection(PhysicsConnection* connection);
    26  
    27 
    2832
    2933  void tick(float dt);
     
    3337 private:
    3438  PhysicsEngine(void);
    35   static PhysicsEngine* singletonRef;
     39  static PhysicsEngine* singletonRef;      //!< the singleton reference of the PhysicsEngine
    3640
    37   tList<PhysicsConnection>* connections;
     41  tList<PhysicsInterface>* interfaces;     //!< a list of physically based objects
     42  tList<PhysicsConnection>* connections;   //!< a list of physical connections
    3843};
    3944
Note: See TracChangeset for help on using the changeset viewer.