blob: d7158478aef123a8ec68bfbd442dcd66bc846fe3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "Screen.h"
using namespace std;
class ChatScreen : public Screen
{
protected:
wstring message;
private:
int frame;
public:
ChatScreen(); //4J added
virtual void init();
virtual void removed();
virtual void tick();
private:
static const wstring allowedChars;
protected:
void keyPressed(wchar_t ch, int eventKey);
public:
void render(int xm, int ym, float a);
protected:
void mouseClicked(int x, int y, int buttonNum);
};
|