Commit | Line | Data |
---|---|---|
ad9f1fb6 PG |
1 | #include "Entity.h" |
2 | #include "../Vector2.h" | |
3 | ||
4 | #include <iostream> | |
5 | ||
6 | /// ***** Public Class Methods ***** | |
7 | ||
2c18685d PG |
8 | const Vector2& Entity::positionRaw() const |
9 | { | |
10 | return position; | |
11 | } | |
12 | const Vector2& Entity::velocityRaw() const | |
13 | { | |
14 | return velocity; | |
15 | } | |
16 | ||
5f1f55d1 | 17 | Entity::Entity(const Vector2& pos) |
ad9f1fb6 PG |
18 | : position(pos), velocity(0,0) |
19 | { | |
20 | ||
21 | } | |
22 | Entity::~Entity() | |
23 | { | |
24 | ||
25 | } |