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"
3
4class NameEntryScreen : public Screen
5{
6private:
7 Screen *lastScreen;
8protected:
9 wstring title;
10private:
11 int slot;
12 wstring name;
13 int frame;
14public:
15 NameEntryScreen(Screen *lastScreen, const wstring& oldName, int slot);
16 virtual void init();
17 virtual void removed();
18 virtual void tick();
19protected:
20 virtual void buttonClicked(Button button);
21private:
22 static const wstring allowedChars;
23protected:
24 virtual void keyPressed(wchar_t ch, int eventKey);
25public:
26 virtual void render(int xm, int ym, float a);
27};