diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2025-01-08 09:52:00 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2025-01-08 09:52:00 +0100 |
commit | b1824253875901b4fb6f4c5fee72aea6d807d370 (patch) | |
tree | 8acc156e68d48022f453dcf06b541f77a5803484 /game/menus/BannerSubScene.h | |
parent | e9082de7d114ce024a884cac38c545c99de4026a (diff) | |
parent | e75ca1c947f3cde19bebf15049732bc069c6e913 (diff) |
Merge remote-tracking branch 'origin/master' into max/game2
Diffstat (limited to 'game/menus/BannerSubScene.h')
-rw-r--r-- | game/menus/BannerSubScene.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/game/menus/BannerSubScene.h b/game/menus/BannerSubScene.h new file mode 100644 index 0000000..c194dfc --- /dev/null +++ b/game/menus/BannerSubScene.h @@ -0,0 +1,20 @@ +#pragma once + +#include <crepe/api/GameObject.h> +#include <crepe/types.h> + +namespace crepe { +class Scene; +} + +class BannerSubScene { +public: + 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); +}; |