aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/ShopMenuScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-03 16:12:14 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-03 16:12:14 +0100
commitf18635b6c73f753bd38343684134430a5ce9b22c (patch)
treee838c01914244c517b17d6359241a8cbf78ac6ae /game/mainmenu/ShopMenuScene.cpp
parentb82c302e2eb5044ae966230a50aae9bdb698cf8c (diff)
added coins random and menu banner update
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"),