From b2fb4028f13f47d89487d48a1cc1e3e062d81e35 Mon Sep 17 00:00:00 2001
From: Max-001 <maxsmits21@kpnmail.nl>
Date: Wed, 8 Jan 2025 11:08:30 +0100
Subject: Made background move to next position

---
 game/background/HallwayScript.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 game/background/HallwayScript.h

(limited to 'game/background/HallwayScript.h')

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;
+};
-- 
cgit v1.2.3