e3b386983797a6b509db296fe6b0ff93f708543c
[physics.git] / src / Entities / Entity.cpp
1 #include "Entity.h"
2
3 #include "../Vector2.h"
4
5
6 /// ***** Constructors/Destructors *****
7
8 Entity::Entity(const Vector2& pos)
9   : position(pos), velocity(0,0)
10 {
11
12 }
13 Entity::~Entity()
14 {
15
16 }
17
18 /// ***** Public Class Methods *****
19
20 const Vector2& Entity::positionRaw() const
21 {
22     return position;
23 }
24 const Vector2& Entity::velocityRaw() const
25 {
26     return velocity;
27 }
28