blob: 78e61afadf841f37e4925507cc4cd7354f9cd7a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "Screen.h"
using namespace std;
class DisconnectedScreen : public Screen
{
private:
wstring title, reason;
public:
DisconnectedScreen(const wstring& title, const 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);
};
|