aboutsummaryrefslogtreecommitdiff
path: root/src/example/Background.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-19 10:54:37 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-19 10:54:37 +0100
commit8100a6ce6380e6efe701cffc0b628fc412f4e13b (patch)
treeedf71c55ff7e187bc14b1e64b3309b029d795a89 /src/example/Background.cpp
parentdc9af733c3e8f11d73fa62028e3b72cee7a73c36 (diff)
Renamed classes (added correct suffix)
Diffstat (limited to 'src/example/Background.cpp')
-rw-r--r--src/example/Background.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/example/Background.cpp b/src/example/Background.cpp
deleted file mode 100644
index 0ad2c0c..0000000
--- a/src/example/Background.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-#include "Background.h"
-#include "Aquarium.h"
-#include "Forest.h"
-#include "Hallway.h"
-#include "Start.h"
-
-#include <crepe/api/Color.h>
-
-using namespace crepe;
-using namespace std;
-
-Background::Background(Scene & scn) {
- Start start;
- Hallway hallway;
- Forest forest;
- Aquarium 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);
-}