diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 12:52:15 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 12:52:15 +0100 |
commit | 6570bf598a3b3768fe34827529df5ea0b4b26f0e (patch) | |
tree | 863f6520fd13017dffa5e01ce6b0f60770b4c505 /src/example/BackgroundSubScene.cpp | |
parent | 43c6971591aaff8ada4adc1b1b4146b19d43f8e9 (diff) |
move game files
Diffstat (limited to 'src/example/BackgroundSubScene.cpp')
-rw-r--r-- | src/example/BackgroundSubScene.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/example/BackgroundSubScene.cpp b/src/example/BackgroundSubScene.cpp deleted file mode 100644 index 6fdc598..0000000 --- a/src/example/BackgroundSubScene.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "BackgroundSubScene.h" -#include "AquariumSubScene.h" -#include "ForestSubScene.h" -#include "HallwaySubScene.h" -#include "StartSubScene.h" - -#include <crepe/api/Color.h> - -using namespace crepe; -using namespace std; - -BackgroundSubScene::BackgroundSubScene(Scene & scn) { - StartSubScene start; - HallwaySubScene hallway; - ForestSubScene forest; - AquariumSubScene aquarium; - - float begin_x = 400; - - begin_x = start.create(scn, begin_x); - - begin_x = hallway.create(scn, begin_x, 1, Color::YELLOW); - - begin_x = forest.create(scn, begin_x, "1"); - - begin_x = hallway.create(scn, begin_x, 2, Color::MAGENTA); - - begin_x = aquarium.create(scn, begin_x); - - begin_x = hallway.create(scn, begin_x, 3, Color::CYAN); - - begin_x = forest.create(scn, begin_x, "2"); - - begin_x = hallway.create(scn, begin_x, 4, Color::GREEN); - - begin_x = aquarium.create(scn, begin_x); -} |