5 #include "../Vector2.h"
7 /// ***** Header Class *****
8 class PhysicsEntity: public Entity
11 PhysicsEntity(const Vector2&);
14 virtual ~PhysicsEntity();
16 virtual void update(float);
18 virtual Vector2 positionAt(float) const;
19 virtual Vector2 velocityAt(float) const;
21 virtual void applyForce(const Vector2&);
22 virtual void applyImpulse(const Vector2&);
29 // Coefficient of Restitution