diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 19:39:23 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 19:39:23 +0100 |
commit | 4f687de3530fac052f30dac7b8c59dae103bcf81 (patch) | |
tree | af02b332b6a6efced3357834cc2f30fbfe7b223b /game/background/HallwaySubScene.h | |
parent | d65e0ff31a75230fd1c18eaeab9cb25ab2b9c82a (diff) | |
parent | 61148c757a1f742ff09e40e5347e74e638c7371c (diff) |
merge
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 + ); +}; |