renamed a few more members and changed some switch statements
[physics.git] / src / Entities / Entity.cpp
index ae04514..9b630a7 100644 (file)
@@ -24,7 +24,7 @@ using namespace bear;
 /// ***** Constructors/Destructors *****
 
 Entity::Entity(const Vector2& pos)
-  : position(pos), velocity(0,0)
+  : m_position(pos), m_velocity(0,0)
 {
 
 }
@@ -37,10 +37,10 @@ Entity::~Entity()
 
 const Vector2& Entity::positionRaw() const
 {
-    return position;
+    return m_position;
 }
 const Vector2& Entity::velocityRaw() const
 {
-    return velocity;
+    return m_velocity;
 }