public class GuiAchievements extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected int |
achievementsPaneHeight |
protected int |
achievementsPaneWidth |
protected double |
field_74115_n |
protected double |
field_74117_m |
protected double |
field_74123_r |
protected double |
field_74124_q |
protected double |
guiMapX
The x position of the achievement map
|
protected double |
guiMapY
The y position of the achievement map
|
protected int |
mouseX
The current mouse x coordinate
|
protected int |
mouseY
The current mouse y coordinate
|
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiAchievements(StatFileWriter par1StatFileWriter) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
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.
|
protected void |
drawTitle()
Draws the "Achievements" title at the top of the GUI.
|
protected void |
genAchievementBackground(int par1,
int par2,
float par3) |
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.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
protected int achievementsPaneWidth
protected int achievementsPaneHeight
protected int mouseX
protected int mouseY
protected double field_74117_m
protected double field_74115_n
protected double guiMapX
protected double guiMapY
protected double field_74124_q
protected double field_74123_r
public GuiAchievements(StatFileWriter par1StatFileWriter)
public void initGui()
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
protected void keyTyped(char par1, int par2)
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen
public void updateScreen()
updateScreen
in class GuiScreen
protected void drawTitle()
protected void genAchievementBackground(int par1, int par2, float par3)
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen