aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/RenameWorldScreen.h
blob: 36addf722098284069bcd158e302e2714f46e30b (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"
class Button;
class EditBox;
using namespace std;

class RenameWorldScreen : public Screen
{
private:
	Screen *lastScreen;
    EditBox *nameEdit;
    wstring levelId;

public:
	RenameWorldScreen(Screen *lastScreen, const wstring& levelId);
    virtual void tick();
    virtual void init() ;
    virtual void removed();
protected:
	virtual void buttonClicked(Button *button);
    virtual void keyPressed(wchar_t ch, int eventKey);
    virtual void mouseClicked(int x, int y, int buttonNum);
public:
	virtual void render(int xm, int ym, float a);
};