mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 13:33:36 +00:00
15 lines
380 B
C++
15 lines
380 B
C++
#pragma once
|
|
#include "../Screen.h"
|
|
|
|
class ErrorScreen : public Screen {
|
|
private:
|
|
std::wstring title, message;
|
|
|
|
public:
|
|
ErrorScreen(const std::wstring& title, const std::wstring& message);
|
|
virtual void init() override;
|
|
virtual void render(int xm, int ym, float a) override;
|
|
|
|
protected:
|
|
virtual void keyPressed(wchar_t eventCharacter, int eventKey) override;
|
|
}; |