public class GuiScreenDemo extends GuiScreen
allowUserInput, height, width
icons, optionsBackground, statIcons
Constructor and Description |
---|
GuiScreenDemo() |
Modifier and Type | Method and Description |
---|---|
void |
drawDefaultBackground()
Draws either a gradient over the background screen (when it exists) or a flat gradient over background.png
|
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.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, onGuiClosed, setClipboardString, setWorldAndResolution
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
public void initGui()
public void updateScreen()
updateScreen
in class GuiScreen
public void drawDefaultBackground()
drawDefaultBackground
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen