forked from Kolyah35/minecraft-pe-0.6.1
39 lines
774 B
C++
Executable File
39 lines
774 B
C++
Executable File
#ifndef NET_MINECRAFT_CLIENT_GUI_SCREENS__StartMenuScreen_H__
|
|
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__StartMenuScreen_H__
|
|
|
|
#include "../Screen.h"
|
|
#include "../components/Button.h"
|
|
|
|
class StartMenuScreen: public Screen
|
|
{
|
|
public:
|
|
StartMenuScreen();
|
|
virtual ~StartMenuScreen();
|
|
|
|
void init();
|
|
void setupPositions();
|
|
|
|
void tick();
|
|
void render(int xm, int ym, float a);
|
|
|
|
void buttonClicked(Button* button);
|
|
bool handleBackEvent(bool isDown);
|
|
bool isInGameScreen();
|
|
private:
|
|
void _updateLicense();
|
|
|
|
Button bHost;
|
|
Button bJoin;
|
|
Button bOptions;
|
|
Button bTest;
|
|
Button bBuy;
|
|
|
|
std::string copyright;
|
|
int copyrightPosX;
|
|
|
|
std::string version;
|
|
int versionPosX;
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_CLIENT_GUI_SCREENS__StartMenuScreen_H__*/
|