summaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-11-12 17:27:53 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2022-11-12 17:47:26 +0100
commit2e7d74e2622e13a6986cffd2c8d4423b840c5e59 (patch)
tree03f20878eadc5f09da020a386397500a60abc07f /src/entity.h
First mini-commit that works with a not-included spritesheet
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h
new file mode 100644
index 0000000..3875c22
--- /dev/null
+++ b/src/entity.h
@@ -0,0 +1,14 @@
+#ifndef ENTITY_H
+#define ENTITY_H
+
+#include "vec.h"
+
+class Entity{
+
+public:
+ Vec2 position;
+ Vec2 size;
+ Vec2 speed;
+};
+
+#endif // ENTITY_H