aboutsummaryrefslogtreecommitdiff
path: root/game/background/HallwayScript.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/background/HallwayScript.h')
-rw-r--r--game/background/HallwayScript.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/game/background/HallwayScript.h b/game/background/HallwayScript.h
new file mode 100644
index 0000000..04b2933
--- /dev/null
+++ b/game/background/HallwayScript.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class HallwayScript : public crepe::Script {
+public:
+ void fixed_update(crepe::duration_t dt);
+
+private:
+ float start_x = 1200;
+ const float lenght = 3000;
+ int current_sector = 2;
+};