mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 02:13:38 +00:00
24 lines
498 B
C++
24 lines
498 B
C++
#pragma once
|
|
#include "../Screen.h"
|
|
|
|
|
|
class DisconnectedScreen : public Screen
|
|
{
|
|
private:
|
|
std::wstring title, reason;
|
|
|
|
public:
|
|
DisconnectedScreen(const std::wstring& title, const std::wstring reason, void *reasonObjects, ...);
|
|
virtual void tick();
|
|
protected:
|
|
using Screen::keyPressed;
|
|
|
|
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);
|
|
};
|