aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/entities.h b/include/entities.h
index e50c77a..7cd657a 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -3,7 +3,7 @@
#include <common.h>
-class Entities{
+class Entity{
public:
float width;
float height;
@@ -14,15 +14,16 @@ public:
bool right,left;
void spawn(float, float);
+ void draw(void);
};
-class Player : public Entities{
+class Player : public Entity{
public:
Player();
~Player();
};
-class NPC : public Entities{
+class NPC : public Entity{
public:
NPC();
};