the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 25 lines 580 B view raw
1#pragma once 2#include "Screen.h" 3class Button; 4class EditBox; 5using namespace std; 6 7class RenameWorldScreen : public Screen 8{ 9private: 10 Screen *lastScreen; 11 EditBox *nameEdit; 12 wstring levelId; 13 14public: 15 RenameWorldScreen(Screen *lastScreen, const wstring& levelId); 16 virtual void tick(); 17 virtual void init() ; 18 virtual void removed(); 19protected: 20 virtual void buttonClicked(Button *button); 21 virtual void keyPressed(wchar_t ch, int eventKey); 22 virtual void mouseClicked(int x, int y, int buttonNum); 23public: 24 virtual void render(int xm, int ym, float a); 25};