forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
32
src/client/gui/screens/SimpleChooseLevelScreen.h
Executable file
32
src/client/gui/screens/SimpleChooseLevelScreen.h
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
#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__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue