aboutsummaryrefslogtreecommitdiff
path: root/game/menus/BannerSubScene.h
blob: c194dfcb669908f4ce615bf1c9b62257a14204ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
};