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