Class GuiStats


public class GuiStats extends GuiScreen
  • Field Details

    • parentGui

      protected GuiScreen parentGui
    • statsTitle

      protected String statsTitle
      The title of the stats screen.
  • Constructor Details

  • Method Details

    • initGui

      public void initGui()
      Adds the buttons (and other controls) to the screen in question.
      Overrides:
      initGui in class GuiScreen
    • addHeaderButtons

      public void addHeaderButtons()
      Creates the buttons that appear at the top of the Stats GUI.
    • actionPerformed

      protected void actionPerformed(GuiButton par1GuiButton)
      Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
      Overrides:
      actionPerformed 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