massive cleaning of file section headers
[physics.git] / src / Entities / Entity.h
... / ...
CommitLineData
1#ifndef ENTITY_H
2#define ENTITY_H
3
4#include "../Vector2.h"
5
6
7/// ***** Header Class *****
8
9class Entity
10{
11 protected:
12 Entity(const Vector2&);
13
14 public:
15 virtual ~Entity();
16
17 virtual void update(float) = 0;
18 virtual void draw() const = 0;
19
20 const Vector2& positionRaw() const;
21 const Vector2& velocityRaw() const;
22
23 protected:
24 Vector2 position;
25 Vector2 velocity;
26};
27
28#endif // ENTITY_H