From 8100a6ce6380e6efe701cffc0b628fc412f4e13b Mon Sep 17 00:00:00 2001 From: max-001 Date: Thu, 19 Dec 2024 10:54:37 +0100 Subject: Renamed classes (added correct suffix) --- src/example/HallwaySubScene.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/example/HallwaySubScene.h (limited to 'src/example/HallwaySubScene.h') diff --git a/src/example/HallwaySubScene.h b/src/example/HallwaySubScene.h new file mode 100644 index 0000000..acc9329 --- /dev/null +++ b/src/example/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