projects
/
physics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
added screen collisions using an Effect
[physics.git]
/
src
/
Entities
/
Entity.cpp
1
#include "Entity.h"
2
#include "../Vector2.h"
3
4
#include <iostream>
5
6
/// ***** Public Class Methods *****
7
8
const Vector2& Entity::positionRaw() const
9
{
10
return position;
11
}
12
const Vector2& Entity::velocityRaw() const
13
{
14
return velocity;
15
}
16
17
Entity::Entity(const Vector2& pos)
18
: position(pos), velocity(0,0)
19
{
20
21
}
22
Entity::~Entity()
23
{
24
25
}