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