aboutsummaryrefslogtreecommitdiff
path: root/game/GameScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-06 20:52:39 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-06 20:52:39 +0100
commit126c402548281f3a97e3a9e0ef60c45147c87fa0 (patch)
treef2f2e763bb6ae3a7ee1bc7719cef2fee8ae1ad5d /game/GameScene.cpp
parent867414de0e2e963b0d1c35b3a46884a8a03a9294 (diff)
endgamesubscene finished
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r--game/GameScene.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp
index bd12d50..24b4287 100644
--- a/game/GameScene.cpp
+++ b/game/GameScene.cpp
@@ -10,6 +10,7 @@
#include "hud/HudScript.h"
#include "hud/HudSubScene.h"
#include "hud/SpeedScript.h"
+#include "menus/endgame/EndGameSubScene.h"
#include "player/PlayerSubScene.h"
#include <cmath>
@@ -133,6 +134,10 @@ void GameScene::load_scene() {
.collision_layer = COLL_LAY_MISSILE,
});
missile.add_component<BoxCollider>(vec2(100, 100));
+
+
+ EndGameSubScene test;
+ test.create(*this);
}
string GameScene::get_name() const { return "scene1"; }