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
5365bcc
..
e3b3869
100644
(file)
--- a/
src/Entities/Entity.cpp
+++ b/
src/Entities/Entity.cpp
@@
-1,7
+1,19
@@
#include "Entity.h"
#include "Entity.h"
+
#include "../Vector2.h"
#include "../Vector2.h"
-#include <iostream>
+
+/// ***** Constructors/Destructors *****
+
+Entity::Entity(const Vector2& pos)
+ : position(pos), velocity(0,0)
+{
+
+}
+Entity::~Entity()
+{
+
+}
/// ***** Public Class Methods *****
/// ***** Public Class Methods *****
@@
-14,12
+26,3
@@
const Vector2& Entity::velocityRaw() const
return velocity;
}
return velocity;
}
-Entity::Entity(const Vector2& pos)
- : position(pos), velocity(0,0)
-{
-
-}
-Entity::~Entity()
-{
-
-}