-
Notifications
You must be signed in to change notification settings - Fork 0
/
settingscreen.h
42 lines (36 loc) · 1.01 KB
/
settingscreen.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
#include "config.h"
#include "gui.h"
#include "buttonActionMap.h"
#include <string>
class SettingScreen
{
public :
void Init(int width, int height, std::string title);
void Tick();
SettingScreen();
~SettingScreen();
private:
void Draw();
void Update();
void KeyboardInputCheck();
void KeyboardButtonCheck();
void Save();
void Load();
enum class settingMenuEnum
{
volume = 0,log,save,load,menu,exit
};
GUI* gui[6];
// Font font;
Texture2D img[6];
Texture2D boximg[4];
SceneManager* menuManager;
settingMenuEnum menuState;
LangManager* langs;
// Music music; // 배경음악 선언
int gamepad = 0; // 제일 처음에 꽂은 게임패드만 사용하도록 하자. 제일 처음이므로 0이다.
bool isDisplayTimer = false;
int DisplayTimer = 0;
const char* DisplayString;
};