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