summaryrefslogtreecommitdiffhomepage
path: root/Falling.h
diff options
context:
space:
mode:
Diffstat (limited to 'Falling.h')
-rw-r--r--Falling.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Falling.h b/Falling.h
new file mode 100644
index 0000000..b629d6d
--- /dev/null
+++ b/Falling.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <raylib.h>
+
+#include "Behaviour.h"
+#include "Generator.h"
+
+
+class Falling : virtual public Behaviour
+{
+public:
+ Falling();
+ void update(float dt, Vector2& position, Generator& generator) override;
+private:
+ float m_speed;
+};