Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
577 B · 31 lines
C
at main
12345678910111213141516171819202122232425262728293031#pragma once#include "Screen.h"using namespace std;class Options;
class ControlsScreen : public Screen{private: Screen *lastScreen;protected: wstring title;private: Options *options; int selectedKey;
static const int BUTTON_WIDTH = 70; static const int ROW_WIDTH = 160;
public: ControlsScreen(Screen *lastScreen, Options *options);private: int getLeftScreenPosition();public: void init();protected: void buttonClicked(Button *button); void keyPressed(wchar_t eventCharacter, int eventKey);public: void render(int xm, int ym, float a);};