src/PhysicsObject.hh
changeset 279 e36f5e1a1c8d
parent 273 eeb699e1d908
child 282 e0e4dfc3e528
equal deleted inserted replaced
278:2b856bc88e6d 279:e36f5e1a1c8d
    43     
    43     
    44     ObjectType type;
    44     ObjectType type;
    45 
    45 
    46     PhysicsObject *pivot;
    46     PhysicsObject *pivot;
    47 
    47 
    48     PhysicsObject(PhysicsWorld &world, float mass, Vector position, 
    48     PhysicsObject (PhysicsWorld &world, float mass, Vector position, Vector velocity, ObjectType type, 
    49                   Vector velocity, ObjectType type, bool enabled = true);
    49             float collision_elasticity, bool enabled = true);
    50     virtual ~PhysicsObject (void);
    50     virtual ~PhysicsObject (void);
    51 
    51 
    52 
    52 
    53     /**
    53     /**
    54      * Add force to the force queue to be applied on next tick.
    54      * Add force to the force queue to be applied on next tick.