diff options
Diffstat (limited to 'game/background/AquariumSubScene.h')
-rw-r--r-- | game/background/AquariumSubScene.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/game/background/AquariumSubScene.h b/game/background/AquariumSubScene.h new file mode 100644 index 0000000..9dbb04e --- /dev/null +++ b/game/background/AquariumSubScene.h @@ -0,0 +1,18 @@ +#pragma once + +#include <crepe/types.h> + +namespace crepe { +class Scene; +class GameObject; +} // namespace crepe + +class AquariumSubScene { +public: + float create(crepe::Scene & scn, float begin_x); + +private: + void add_background(crepe::Scene & scn, float begin_x); + void + add_bubbles(crepe::GameObject & obj, crepe::vec2 offset, int order_in_layer, float scale); +}; |