X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2FEntities%2FEntity.cpp;h=9b630a7837edbdf20d6851fc2113ea92238f66ef;hb=389bf8fdd7e1b8f4fe21e5a9fdb477d40d03d829;hp=9510b784c936a25097fe3817ab7ffa2b3c9b151d;hpb=b85b89ba9a2cb0373209e8117046fd308faf0202;p=physics.git diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 9510b78..9b630a7 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -17,14 +17,14 @@ #include "Entity.h" -#include -using namespace pg; +#include +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; }