Commit | Line | Data |
---|---|---|
ad9f1fb6 | 1 | #include "Entity.h" |
617dcc71 | 2 | |
ad9f1fb6 PG |
3 | #include "../Vector2.h" |
4 | ||
617dcc71 PG |
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 | } | |
ad9f1fb6 PG |
17 | |
18 | /// ***** Public Class Methods ***** | |
19 | ||
2c18685d PG |
20 | const Vector2& Entity::positionRaw() const |
21 | { | |
22 | return position; | |
23 | } | |
24 | const Vector2& Entity::velocityRaw() const | |
25 | { | |
26 | return velocity; | |
27 | } | |
28 |