aboutsummaryrefslogtreecommitdiff
path: root/game/GameScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 11:20:58 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 11:20:58 +0100
commitfcae8934916c9f429e58c8e178ab14fcf65a2bbc (patch)
tree34cddb9fad2c8639dfed3ffbb3216be9ac5e8b52 /game/GameScene.cpp
parent126c402548281f3a97e3a9e0ef60c45147c87fa0 (diff)
added end game
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r--game/GameScene.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp
index 24b4287..a1f3fa6 100644
--- a/game/GameScene.cpp
+++ b/game/GameScene.cpp
@@ -11,6 +11,7 @@
#include "hud/HudSubScene.h"
#include "hud/SpeedScript.h"
#include "menus/endgame/EndGameSubScene.h"
+#include "menus/endgame/EndGameSubScript.h"
#include "player/PlayerSubScene.h"
#include <cmath>
@@ -135,9 +136,8 @@ void GameScene::load_scene() {
});
missile.add_component<BoxCollider>(vec2(100, 100));
-
- EndGameSubScene test;
- test.create(*this);
+ EndGameSubScene endgamewindow;
+ endgamewindow.create(*this);
}
string GameScene::get_name() const { return "scene1"; }