Class GuiGameOver


public class GuiGameOver extends GuiScreen
  • Constructor Details

    • GuiGameOver

      public GuiGameOver()
  • Method Details

    • initGui

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

      protected void keyTyped(char par1, int par2)
      Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).
      Overrides:
      keyTyped in class GuiScreen
    • 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
    • doesGuiPauseGame

      public boolean doesGuiPauseGame()
      Returns true if this GUI should pause the game when it is displayed in single-player
      Overrides:
      doesGuiPauseGame in class GuiScreen
    • updateScreen

      public void updateScreen()
      Called from the main game loop to update the screen.
      Overrides:
      updateScreen in class GuiScreen