diff options
Diffstat (limited to 'Minecraft.Client/ConnectScreen.h')
| -rw-r--r-- | Minecraft.Client/ConnectScreen.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Minecraft.Client/ConnectScreen.h b/Minecraft.Client/ConnectScreen.h new file mode 100644 index 00000000..07e65cbb --- /dev/null +++ b/Minecraft.Client/ConnectScreen.h @@ -0,0 +1,24 @@ +#pragma once +#include "Screen.h" +class ClientConnection; +class Minecraft; + +using namespace std; + +class ConnectScreen : public Screen +{ +private: + ClientConnection *connection; + bool aborted; +public: + ConnectScreen(Minecraft *minecraft, const wstring& ip, int port); + virtual void tick(); +protected: + virtual void keyPressed(char eventCharacter, int eventKey); +public: + virtual void init(); +protected: + virtual void buttonClicked(Button *button); +public: + virtual void render(int xm, int ym, float a); +};
\ No newline at end of file |
