aboutsummaryrefslogtreecommitdiff
path: root/game/BackgroundSubScene.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-22 11:53:15 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-22 11:53:15 +0100
commit794facac7a7a1886bc2e0fea4c19c1106d6b458e (patch)
tree9518ed7903cf1b38af293cfd60146376f1016504 /game/BackgroundSubScene.cpp
parentf5d2ef9a5a335509f6ade05470938f0fbbbb74ad (diff)
parente7599e648ea24d5e8a27bd9f4f162ef1a7c53d21 (diff)
Merge branch 'max/game' of github.com:lonkaars/crepe
Diffstat (limited to 'game/BackgroundSubScene.cpp')
-rw-r--r--game/BackgroundSubScene.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/game/BackgroundSubScene.cpp b/game/BackgroundSubScene.cpp
deleted file mode 100644
index 6fdc598..0000000
--- a/game/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);
-}