equal
deleted
inserted
replaced
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. |