mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 08:43:59 +00:00
17 lines
390 B
C++
17 lines
390 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#include "Screen.h"
|
|
|
|
class ErrorScreen : public Screen {
|
|
private:
|
|
std::string title, message;
|
|
|
|
public:
|
|
ErrorScreen(const std::string& title, const std::string& message);
|
|
virtual void init() override;
|
|
virtual void render(int xm, int ym, float a) override;
|
|
|
|
protected:
|
|
virtual void keyPressed(char eventCharacter, int eventKey) override;
|
|
}; |