diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 11:53:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 11:53:15 +0100 |
commit | 794facac7a7a1886bc2e0fea4c19c1106d6b458e (patch) | |
tree | 9518ed7903cf1b38af293cfd60146376f1016504 /game/background/ForestSubScene.h | |
parent | f5d2ef9a5a335509f6ade05470938f0fbbbb74ad (diff) | |
parent | e7599e648ea24d5e8a27bd9f4f162ef1a7c53d21 (diff) |
Merge branch 'max/game' of github.com:lonkaars/crepe
Diffstat (limited to 'game/background/ForestSubScene.h')
-rw-r--r-- | game/background/ForestSubScene.h | 15 |
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); +}; |