named members m_* to quite -Wshadow
[physics.git] / src / Entities / Particle.h
index 87b53ac..cad470f 100644 (file)
 #ifndef PARTICLE_H
 #define PARTICLE_H
 
+#include <bear/Vector2.h>
+using namespace bear;
+
 #include "Entity.h"
-#include "Vector2.h"
 
 
 /// NOTE to SELF
@@ -42,10 +44,10 @@ class Particle: public Entity
         virtual void update(float);
 
     protected:
-        float lifeTime;
+        float m_lifeTime;
 
-        bool isDead;
-        bool canDie;
+        bool m_isDead;
+        bool m_canDie;
 };
 
 #endif // PARTICLE_H