diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 16:12:14 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-03 16:12:14 +0100 |
commit | f18635b6c73f753bd38343684134430a5ce9b22c (patch) | |
tree | e838c01914244c517b17d6359241a8cbf78ac6ae /game/mainmenu/BannerSubScene.h | |
parent | b82c302e2eb5044ae966230a50aae9bdb698cf8c (diff) |
added coins random and menu banner update
Diffstat (limited to 'game/mainmenu/BannerSubScene.h')
-rw-r--r-- | game/mainmenu/BannerSubScene.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/game/mainmenu/BannerSubScene.h b/game/mainmenu/BannerSubScene.h index 06cd1a4..341943d 100644 --- a/game/mainmenu/BannerSubScene.h +++ b/game/mainmenu/BannerSubScene.h @@ -1,5 +1,6 @@ #pragma once +#include "types.h" #include <crepe/api/GameObject.h> namespace crepe { @@ -8,5 +9,11 @@ class Scene; class BannerSubScene { public: - void create(crepe::Scene & scn); +struct Data{ + const std::string & banner_title = "NODATA"; + const float banner_title_width = 100; + const crepe::vec2 & banner_title_offset = {0,0}; + }; +public: + void create(crepe::Scene & scn,const Data & data); }; |