projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
permission hook working correctly, good bye temp file
[physics.git]
/
src
/
Entities
/
Entity.cpp
diff --git
a/src/Entities/Entity.cpp
b/src/Entities/Entity.cpp
index
462fcd0
..
e3b3869
100644
(file)
--- a/
src/Entities/Entity.cpp
+++ b/
src/Entities/Entity.cpp
@@
-1,9
+1,9
@@
#include "Entity.h"
#include "Entity.h"
+
#include "../Vector2.h"
#include "../Vector2.h"
-#include <iostream>
-/// *****
Public Class Method
s *****
+/// *****
Constructors/Destructor
s *****
Entity::Entity(const Vector2& pos)
: position(pos), velocity(0,0)
Entity::Entity(const Vector2& pos)
: position(pos), velocity(0,0)
@@
-14,3
+14,15
@@
Entity::~Entity()
{
}
{
}
+
+/// ***** Public Class Methods *****
+
+const Vector2& Entity::positionRaw() const
+{
+ return position;
+}
+const Vector2& Entity::velocityRaw() const
+{
+ return velocity;
+}
+