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