X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2FEntities%2FPhysicsEntity.h;h=d229691d4911e6b679acbb1c0de420805ad88a58;hb=389bf8fdd7e1b8f4fe21e5a9fdb477d40d03d829;hp=8e8326695cbefefc927907e5b20c20cab84a68f8;hpb=19c2da50f7f1ce9854c718e6c1c545ccc2afbb5f;p=physics.git diff --git a/src/Entities/PhysicsEntity.h b/src/Entities/PhysicsEntity.h index 8e83266..d229691 100644 --- a/src/Entities/PhysicsEntity.h +++ b/src/Entities/PhysicsEntity.h @@ -18,8 +18,10 @@ #ifndef PHYSICS_H #define PHYSICS_H +#include +using namespace bear; + #include "Entity.h" -#include "Vector2.h" /// ***** Header Class ***** @@ -46,12 +48,12 @@ class PhysicsEntity: public Entity 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