projects
/
physics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d69780340b603deab3c62deb8a44c62dc909e4a3
[physics.git]
/
src
/
Entities
/
Entity.h
1
#ifndef ENTITY_H
2
#define ENTITY_H
3
4
#include "../Vector2.h"
5
6
/// ***** Header Class *****
7
class Entity
8
{
9
protected:
10
Entity(Vector2);
11
12
public:
13
virtual ~Entity();
14
15
virtual void update(float) = 0;
16
virtual void draw() const = 0;
17
18
protected:
19
Vector2 position;
20
Vector2 velocity;
21
};
22
23
#endif // ENTITY_H