diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-06 19:09:52 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-06 19:09:52 +0100 |
commit | 867414de0e2e963b0d1c35b3a46884a8a03a9294 (patch) | |
tree | 6836bb893229f897ed507b3102e64904363b53c9 /game/menus/mainmenu | |
parent | 4c83562ef39a0364cd01f1f3615eb7672ca9f4a2 (diff) |
popup window
Diffstat (limited to 'game/menus/mainmenu')
-rw-r--r-- | game/menus/mainmenu/MainMenuScene.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/game/menus/mainmenu/MainMenuScene.cpp b/game/menus/mainmenu/MainMenuScene.cpp index fcbd43f..a515b45 100644 --- a/game/menus/mainmenu/MainMenuScene.cpp +++ b/game/menus/mainmenu/MainMenuScene.cpp @@ -10,6 +10,8 @@ #include "../../background/HallwaySubScene.h" #include "../../Config.h" +#include "../endgame/EndGameSubScene.h" + #include <crepe/api/BehaviorScript.h> #include <crepe/api/GameObject.h> #include <crepe/api/Sprite.h> @@ -97,6 +99,9 @@ void MainMenuScene::load_scene(){ .tag = MENU_INFO_TAG, }); + EndGameSubScene test; + test.create(*this); + } -string MainMenuScene::get_name() const { return "mainmenu"; } +string MainMenuScene::get_name() const { return MAINMENU_SCENE; } |