diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 11:20:58 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 11:20:58 +0100 |
commit | fcae8934916c9f429e58c8e178ab14fcf65a2bbc (patch) | |
tree | 34cddb9fad2c8639dfed3ffbb3216be9ac5e8b52 /game/GameScene.cpp | |
parent | 126c402548281f3a97e3a9e0ef60c45147c87fa0 (diff) |
added end game
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 6 |
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"; } |