From 6570bf598a3b3768fe34827529df5ea0b4b26f0e Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 20 Dec 2024 12:52:15 +0100 Subject: move game files --- game/HallwaySubScene.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 game/HallwaySubScene.h (limited to 'game/HallwaySubScene.h') diff --git a/game/HallwaySubScene.h b/game/HallwaySubScene.h new file mode 100644 index 0000000..acc9329 --- /dev/null +++ b/game/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