summaryrefslogtreecommitdiffhomepage
path: root/Behaviour.h
diff options
context:
space:
mode:
Diffstat (limited to 'Behaviour.h')
-rw-r--r--Behaviour.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Behaviour.h b/Behaviour.h
new file mode 100644
index 0000000..07751ce
--- /dev/null
+++ b/Behaviour.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <raylib.h>
+
+#include "Generator.h"
+
+
+struct Behaviour
+{
+ virtual ~Behaviour() = default;
+ virtual void update(float dt, Vector2& position, Generator& generator) = 0;
+};