named members m_* to quite -Wshadow
[physics.git] / src / Entities / PhysicsEntity.h
index 8e83266..d229691 100644 (file)
 #ifndef PHYSICS_H
 #define PHYSICS_H
 
+#include <bear/Vector2.h>
+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