From 999e1b928aa632e80521651f14013c267af604dc Mon Sep 17 00:00:00 2001 From: Max-001 Date: Sat, 21 Dec 2024 11:19:52 +0100 Subject: Moved file to sub directory --- game/background/HallwaySubScene.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 game/background/HallwaySubScene.h (limited to 'game/background/HallwaySubScene.h') diff --git a/game/background/HallwaySubScene.h b/game/background/HallwaySubScene.h new file mode 100644 index 0000000..acc9329 --- /dev/null +++ b/game/background/HallwaySubScene.h @@ -0,0 +1,21 @@ +#pragma once + +#include + +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); +}; -- cgit v1.2.3