added screen collisions using an Effect
[physics.git] / src / Entities / Entity.cpp
CommitLineData
ad9f1fb6
PG
1#include "Entity.h"
2#include "../Vector2.h"
3
4#include <iostream>
5
6/// ***** Public Class Methods *****
7
2c18685d
PG
8const Vector2& Entity::positionRaw() const
9{
10 return position;
11}
12const Vector2& Entity::velocityRaw() const
13{
14 return velocity;
15}
16
5f1f55d1 17Entity::Entity(const Vector2& pos)
ad9f1fb6
PG
18 : position(pos), velocity(0,0)
19{
20
21}
22Entity::~Entity()
23{
24
25}