the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Screen.h"
3using namespace std;
4class Options;
5
6class ControlsScreen : public Screen
7{
8private:
9 Screen *lastScreen;
10protected:
11 wstring title;
12private:
13 Options *options;
14
15 int selectedKey;
16
17 static const int BUTTON_WIDTH = 70;
18 static const int ROW_WIDTH = 160;
19
20public:
21 ControlsScreen(Screen *lastScreen, Options *options);
22private:
23 int getLeftScreenPosition();
24public:
25 void init();
26protected:
27 void buttonClicked(Button *button);
28 void keyPressed(wchar_t eventCharacter, int eventKey);
29public:
30 void render(int xm, int ym, float a);
31};