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/StartSubScene.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 game/StartSubScene.h (limited to 'game/StartSubScene.h') diff --git a/game/StartSubScene.h b/game/StartSubScene.h new file mode 100644 index 0000000..c83e3d5 --- /dev/null +++ b/game/StartSubScene.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +namespace crepe { +class Scene; +class GameObject; +} // namespace crepe + +class StartSubScene { +public: + float create(crepe::Scene & scn, float begin_x); + +private: + void add_lamp(crepe::GameObject & obj, crepe::vec2 offset, unsigned int fps = 10); + void add_table(crepe::GameObject & obj, crepe::vec2 offset); + void add_light(crepe::GameObject & obj, crepe::vec2 offset); + void add_jetpack_stand(crepe::GameObject & obj, crepe::vec2 offset); + void create_wall_fragments(crepe::Scene & scn, float begin_x); +}; -- cgit v1.2.3