diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-06 12:27:20 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-06 12:27:20 +0100 |
commit | a4859aa99f5c80b80b093fde1589283dfbb70bbf (patch) | |
tree | c72d8c764eea55c8308b0c47b1c23bf1a6d5d554 /game/mainmenu/MainMenuScene.cpp | |
parent | f8f420bc6866297d0deaafb6d1acc23eaab1b17e (diff) |
updated coin config
Diffstat (limited to 'game/mainmenu/MainMenuScene.cpp')
-rw-r--r-- | game/mainmenu/MainMenuScene.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/game/mainmenu/MainMenuScene.cpp b/game/mainmenu/MainMenuScene.cpp index c2306b1..f720ffc 100644 --- a/game/mainmenu/MainMenuScene.cpp +++ b/game/mainmenu/MainMenuScene.cpp @@ -5,6 +5,7 @@ #include "api/BehaviorScript.h" #include "api/Camera.h" #include "../background/StartSubScene.h" +#include "../background/HallwaySubScene.h" #include "MainMenuConfig.h" #include "api/GameObject.h" #include "api/Sprite.h" @@ -59,7 +60,10 @@ void MainMenuScene::load_scene(){ //Start of map StartSubScene start; - start.create(*this, MainMenuConfig::STARTMAP_OFFSET); + HallwaySubScene hallway; + float begin_x = start.create(*this, MainMenuConfig::STARTMAP_OFFSET); + begin_x = hallway.create(*this, begin_x, 1, Color::YELLOW); + //INFO menu GameObject menu_info = this->new_object("MENU_INFO_BACKGROUND",MainMenuConfig::MENU_INFO_TAG,MainMenuConfig::MENU_OFFSET); |