aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/BannerSubScene.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/mainmenu/BannerSubScene.h')
-rw-r--r--game/mainmenu/BannerSubScene.h9
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);
};