diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/ConnectScreen.h | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
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 |
