aboutsummaryrefslogtreecommitdiff
path: root/game/background/AquariumScript.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-08 11:22:53 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-08 11:22:53 +0100
commit8fc12804f7f0203564cd6352cf47da13a4f46641 (patch)
tree069c7ffe36fee345cb6532a15435f3fab03371e3 /game/background/AquariumScript.h
parentb2fb4028f13f47d89487d48a1cc1e3e062d81e35 (diff)
Made background aquarium move
Diffstat (limited to 'game/background/AquariumScript.h')
-rw-r--r--game/background/AquariumScript.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/background/AquariumScript.h b/game/background/AquariumScript.h
new file mode 100644
index 0000000..b068628
--- /dev/null
+++ b/game/background/AquariumScript.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <crepe/api/Script.h>
+
+class AquariumScript : public crepe::Script {
+public:
+ void fixed_update(crepe::duration_t dt);
+
+private:
+ float start_x = 10200;
+ const float lenght = 3000;
+};