named members m_* to quite -Wshadow
[physics.git] / src / Entities / Ball.h
index a42d725..fd525b0 100644 (file)
 #ifndef BALL_H
 #define BALL_H
 
+#include <bear/Vector2.h>
+using namespace bear;
+
 #include "PhysicsEntity.h"
-#include "../Vector2.h"
 
 
 /// ***** Header Class *****
@@ -34,9 +36,9 @@ class Ball: public PhysicsEntity
 
     float getRadius() const;
 
-  protected:
-    float radius;
-    const float* color;
+  //protected:
+    float m_radius;
+    const float* m_color;
 };
 
 #endif // BALL_H