aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h
new file mode 100644
index 0000000..3ecf014
--- /dev/null
+++ b/include/entities.h
@@ -0,0 +1,26 @@
+#ifndef ENTITIES_H
+#define ENTITIES_H
+
+#include <common.h>
+
+
+class Entities{
+public:
+ float width;
+ float height;
+ float speed;
+ int type;
+ vec2 loc;
+
+ void spawn(float, float);
+
+
+};
+
+class Player : public Entities{
+public:
+ Player();
+ ~Player();
+};
+
+#endif //ENTITIES_H \ No newline at end of file