aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ErrorScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/ErrorScreen.h')
-rw-r--r--Minecraft.Client/ErrorScreen.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Minecraft.Client/ErrorScreen.h b/Minecraft.Client/ErrorScreen.h
new file mode 100644
index 00000000..84ff667f
--- /dev/null
+++ b/Minecraft.Client/ErrorScreen.h
@@ -0,0 +1,14 @@
+#pragma once
+#include "Screen.h"
+
+class ErrorScreen : public Screen
+{
+private:
+ wstring title, message;
+public:
+ ErrorScreen(const wstring& title, const wstring& message);
+ virtual void init();
+ virtual void render(int xm, int ym, float a);
+protected:
+ virtual void keyPressed(wchar_t eventCharacter, int eventKey);
+}; \ No newline at end of file