forked from Kolyah35/minecraft-pe-0.6.1
33 lines
712 B
C++
Executable File
33 lines
712 B
C++
Executable File
#ifndef NET_MINECRAFT_CLIENT_GUI_SCREENS__DemoChooseLevelScreen_H__
|
|
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__DemoChooseLevelScreen_H__
|
|
|
|
#include "ChooseLevelScreen.h"
|
|
class Button;
|
|
|
|
class SimpleChooseLevelScreen: public ChooseLevelScreen
|
|
{
|
|
public:
|
|
SimpleChooseLevelScreen(const std::string& levelName);
|
|
|
|
virtual ~SimpleChooseLevelScreen();
|
|
|
|
void init();
|
|
|
|
void setupPositions();
|
|
|
|
void render(int xm, int ym, float a);
|
|
|
|
void buttonClicked(Button* button);
|
|
bool handleBackEvent(bool isDown);
|
|
|
|
private:
|
|
Button* bCreative;
|
|
Button* bSurvival;
|
|
Button* bBack;
|
|
bool hasChosen;
|
|
|
|
std::string levelName;
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_CLIENT_GUI_SCREENS__DemoChooseLevelScreen_H__*/
|