aboutsummaryrefslogtreecommitdiff
path: root/game/background/ForestSubScene.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-22 11:53:15 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-22 11:53:15 +0100
commit794facac7a7a1886bc2e0fea4c19c1106d6b458e (patch)
tree9518ed7903cf1b38af293cfd60146376f1016504 /game/background/ForestSubScene.h
parentf5d2ef9a5a335509f6ade05470938f0fbbbb74ad (diff)
parente7599e648ea24d5e8a27bd9f4f162ef1a7c53d21 (diff)
Merge branch 'max/game' of github.com:lonkaars/crepe
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);
+};