4jcraft/Minecraft.Client/UI/Screens/PauseScreen.h
Sally Knight 0fbbac1cde feat(jui): add world leaving
You will now be able to leave the world from all places where you'd usually be able to (Pause screen, death screen)
Should be identical to the way it's done on Iggy/XUI
2026-03-19 15:05:32 +03:00

23 lines
428 B
C++

#pragma once
#include "../Screen.h"
class PauseScreen : public Screen {
private:
int saveStep;
int visibleTime;
public:
PauseScreen(); // 4J added
virtual void init();
static void exitWorld(Minecraft* minecraft, bool save);
protected:
using Screen::buttonClicked;
virtual void buttonClicked(Button* button);
public:
virtual void tick();
virtual void render(int xm, int ym, float a);
};