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