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