diff options
Diffstat (limited to 'game/background/HallwaySubScene.h')
-rw-r--r-- | game/background/HallwaySubScene.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/game/background/HallwaySubScene.h b/game/background/HallwaySubScene.h new file mode 100644 index 0000000..c38b4a9 --- /dev/null +++ b/game/background/HallwaySubScene.h @@ -0,0 +1,24 @@ +#pragma once + +#include <crepe/types.h> + +namespace crepe { +class Scene; +class GameObject; +class Color; +} // namespace crepe + +class HallwaySubScene { +public: + float create( + crepe::Scene & scn, float begin_x, unsigned int sector_num, crepe::Color sector_color + ); + +private: + void add_lamp(crepe::GameObject & obj, crepe::vec2 offset, unsigned int fps = 10); + + void add_sector_number( + crepe::GameObject & obj, crepe::vec2 offset, unsigned int sector_num, + crepe::Color sector_color + ); +}; |