aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/ShopMenuScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/mainmenu/ShopMenuScene.cpp')
-rw-r--r--game/mainmenu/ShopMenuScene.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/game/mainmenu/ShopMenuScene.cpp b/game/mainmenu/ShopMenuScene.cpp
index be2039f..d6ad870 100644
--- a/game/mainmenu/ShopMenuScene.cpp
+++ b/game/mainmenu/ShopMenuScene.cpp
@@ -16,7 +16,11 @@ void ShopMenuScene::load_scene(){
.bg_color = Color::RED,
});
BannerSubScene banner;
- banner.create(*this);
+ banner.create(*this,{
+ .banner_title = "SHOP",
+ .banner_title_width = 200,
+ .banner_title_offset = {0,65},
+ });
GameObject menu_background = this->new_object("menu_background");
menu_background.add_component<Sprite>(
Asset("asset/ui/background.png"),