projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed a few more members and changed some switch statements
[physics.git]
/
src
/
Entities
/
Entity.cpp
diff --git
a/src/Entities/Entity.cpp
b/src/Entities/Entity.cpp
index
ae04514
..
9b630a7
100644
(file)
--- a/
src/Entities/Entity.cpp
+++ b/
src/Entities/Entity.cpp
@@
-24,7
+24,7
@@
using namespace bear;
/// ***** Constructors/Destructors *****
Entity::Entity(const Vector2& pos)
/// ***** 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
{
const Vector2& Entity::positionRaw() const
{
- return position;
+ return
m_
position;
}
const Vector2& Entity::velocityRaw() const
{
}
const Vector2& Entity::velocityRaw() const
{
- return velocity;
+ return
m_
velocity;
}
}