named members m_* to quite -Wshadow
[physics.git] / src / Entities / PhysicsEntity.h
index e6f2f36..d229691 100644 (file)
@@ -18,7 +18,8 @@
 #ifndef PHYSICS_H
 #define PHYSICS_H
 
-#include <pg/Vector2.h>
+#include <bear/Vector2.h>
+using namespace bear;
 
 #include "Entity.h"
 
@@ -47,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