projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added screen collisions using an Effect
[physics.git]
/
src
/
Entities
/
Entity.cpp
diff --git
a/src/Entities/Entity.cpp
b/src/Entities/Entity.cpp
index
462fcd0
..
5365bcc
100644
(file)
--- a/
src/Entities/Entity.cpp
+++ b/
src/Entities/Entity.cpp
@@
-5,6
+5,15
@@
/// ***** Public Class Methods *****
+const Vector2& Entity::positionRaw() const
+{
+ return position;
+}
+const Vector2& Entity::velocityRaw() const
+{
+ return velocity;
+}
+
Entity::Entity(const Vector2& pos)
: position(pos), velocity(0,0)
{