aboutsummaryrefslogtreecommitdiff
path: root/game/background/ForestSubScene.h
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2024-12-21 11:19:52 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2024-12-21 11:19:52 +0100
commit999e1b928aa632e80521651f14013c267af604dc (patch)
treedbb30be31d332cbc53dcbb9ab498856c80162e8c /game/background/ForestSubScene.h
parent0ba89eff9283d5f9f59fa763a19f4616f1c66d74 (diff)
Moved file to sub directory
Diffstat (limited to 'game/background/ForestSubScene.h')
-rw-r--r--game/background/ForestSubScene.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/game/background/ForestSubScene.h b/game/background/ForestSubScene.h
new file mode 100644
index 0000000..0a04001
--- /dev/null
+++ b/game/background/ForestSubScene.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <string>
+
+namespace crepe {
+class Scene;
+}
+
+class ForestSubScene {
+public:
+ float create(crepe::Scene & scn, float begin_x, std::string unique_bg_name);
+
+private:
+ void add_background(crepe::Scene & scn, float begin_x, std::string name);
+};