Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2005, 1:24:40 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ParticleSystem is now a PhysicsInterface

File:
1 edited

Legend:

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

    r4376 r4377  
    88
    99#include "vector.h"
     10#include "base_object.h"
     11
     12// Forward Declaration
     13class Field;
    1014
    1115//! A Physics interface
     
    1317   here can be some longer description of this class
    1418*/
    15 class PhysicsInterface {
     19class PhysicsInterface : public BaseObject
     20{
    1621
    1722 public:
     
    2530  inline float getTotalMass( void ) const { return mass + massChildren; };
    2631
    27   virtual void applyForce( Vector force );                                      //!< Add a central force on this rigid body
    28   virtual void tickPhys( float dt );                                            //!< Update kinematics, reset force sum
     32  virtual void applyField(Field* field, float dt);
     33  virtual void tickPhys( float dt );
    2934
    3035 protected:
Note: See TracChangeset for help on using the changeset viewer.