TextBox / removed BuyButton / impoved CreateWorldScreen

This commit is contained in:
Kolyah35
2026-03-10 02:51:32 +03:00
parent 65d25748db
commit 0c97ceb340
9 changed files with 204 additions and 144 deletions

View File

@@ -2,6 +2,8 @@
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__DemoChooseLevelScreen_H__
#include "ChooseLevelScreen.h"
#include "../components/TextBox.h"
class Button;
class SimpleChooseLevelScreen: public ChooseLevelScreen
@@ -21,12 +23,18 @@ public:
bool handleBackEvent(bool isDown);
private:
Button* bCreative;
Button* bSurvival;
// Button* bCreative;
Button* bGamemode;
Button* bBack;
Button* bCreate;
bool hasChosen;
std::string levelName;
int gamemode;
TextBox tLevelName;
TextBox tSeed;
};
#endif /*NET_MINECRAFT_CLIENT_GUI_SCREENS__DemoChooseLevelScreen_H__*/