public class GuiMainMenu extends GuiScreen
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
field_96138_a |
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiMainMenu() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
void |
confirmClicked(boolean par1,
int par2) |
boolean |
doesGuiPauseGame()
Returns true if this GUI should pause the game when it is displayed in single-player
|
void |
drawScreen(int par1,
int par2,
float par3)
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 par1,
int par2)
Fired when a key is typed.
|
protected void |
mouseClicked(int par1,
int par2,
int par3)
Called when the mouse is clicked.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClickMove, mouseMovedOrUp, onGuiClosed, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
public void updateScreen()
updateScreen
in class GuiScreen
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen
protected void keyTyped(char par1, int par2)
public void initGui()
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
public void confirmClicked(boolean par1, int par2)
confirmClicked
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen
protected void mouseClicked(int par1, int par2, int par3)
mouseClicked
in class GuiScreen