public class GuiSelectWorld extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected GuiScreen |
parentScreen
A reference to the screen object that created this.
|
protected java.lang.String |
screenTitle
The title string that is displayed in the top-center of the screen.
|
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiSelectWorld(GuiScreen par1GuiScreen) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
void |
confirmClicked(boolean par1,
int par2) |
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
static GuiYesNo |
getDeleteWorldScreen(GuiScreen par0GuiScreen,
java.lang.String par1Str,
int par2)
Gets a GuiYesNo screen with the warning, buttons, etc.
|
protected java.lang.String |
getSaveFileName(int par1)
returns the file name of the specified save number
|
protected java.lang.String |
getSaveName(int par1)
returns the name of the saved game
|
void |
initButtons()
intilize the buttons for this GUI
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
selectWorld(int par1)
Gets the selected world.
|
doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed, setClipboardString, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
protected GuiScreen parentScreen
protected java.lang.String screenTitle
public GuiSelectWorld(GuiScreen par1GuiScreen)
public void initGui()
protected java.lang.String getSaveFileName(int par1)
protected java.lang.String getSaveName(int par1)
public void initButtons()
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
public void selectWorld(int par1)
public void confirmClicked(boolean par1, int par2)
confirmClicked
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen