public class GuiWinGame extends GuiScreen
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiWinGame() |
Modifier and Type | Method and Description |
---|---|
boolean |
doesGuiPauseGame()
Returns true if this GUI should pause the game when it is displayed in single-player
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char typedChar,
int keyCode)
Fired when a key is typed (except F11 which toggles full screen).
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
actionPerformed, addButton, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public void updateScreen()
updateScreen
in class GuiScreen
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen
public void initGui()
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen