#ifndef PHYSICS_H
#define PHYSICS_H
+#include <bear/Vector2.h>
+using namespace bear;
+
#include "Entity.h"
-#include "../Vector2.h"
/// ***** Header Class *****
virtual void applyImpulse(const Vector2& impulse);
virtual void applyImpulse(const Vector2& impulse, const Vector2& at);
+ virtual void applyNudge(const Vector2& vecPush);
+
//protected:
- Vector2 force;
+ Vector2 m_force;
- float mass;
+ float m_mass;
// Coefficient of Restitution
- float CoR;
+ float m_CoR;
};
#endif // PHYSICS_H