net.minecraft.client.gui
Class GuiScreenDemo
java.lang.Object
net.minecraft.client.gui.Gui
net.minecraft.client.gui.GuiScreen
net.minecraft.client.gui.GuiScreenDemo
public class GuiScreenDemo
- extends GuiScreen
Method Summary |
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. |
Methods inherited from class net.minecraft.client.gui.GuiScreen |
confirmClicked, doesGuiPauseGame, drawBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, onGuiClosed, setClipboardString, setWorldAndResolution |
GuiScreenDemo
public GuiScreenDemo()
initGui
public void initGui()
- Adds the buttons (and other controls) to the screen in question.
- Overrides:
initGui
in class GuiScreen
updateScreen
public void updateScreen()
- Called from the main game loop to update the screen.
- Overrides:
updateScreen
in class GuiScreen
drawDefaultBackground
public void drawDefaultBackground()
- Draws either a gradient over the background screen (when it exists) or a flat gradient over background.png
- Overrides:
drawDefaultBackground
in class GuiScreen
drawScreen
public void drawScreen(int par1,
int par2,
float par3)
- Draws the screen and all the components in it.
- Overrides:
drawScreen
in class GuiScreen