public class GuiScreenDemo extends GuiScreen
allowUserInput, guiParticles, height, isMacOs, width| 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, setWorldAndResolutiondrawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIconpublic void initGui()
public void updateScreen()
updateScreen in class GuiScreenpublic void drawDefaultBackground()
drawDefaultBackground in class GuiScreenpublic void drawScreen(int par1,
int par2,
float par3)
drawScreen in class GuiScreen