Class GuiMerchant


public class GuiMerchant extends GuiContainer
  • Constructor Details

  • Method Details

    • initGui

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

      protected void drawGuiContainerForegroundLayer(int par1, int par2)
      Draw the foreground layer for the GuiContainer (everything in front of the items)
      Overrides:
      drawGuiContainerForegroundLayer in class GuiContainer
    • drawGuiContainerBackgroundLayer

      protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
      Draw the background layer for the GuiContainer (everything behind the items)
      Specified by:
      drawGuiContainerBackgroundLayer in class GuiContainer
    • getIMerchant

      public IMerchant getIMerchant()
      // +++START EDIT+++ Gets the Instance of IMerchant interface. // ---END EDIT---
    • drawScreen

      public void drawScreen(int iMouseX, int iMouseY, float fMysteryVariable)
      Description copied from class: GuiContainer
      Draws the screen and all the components in it.
      Overrides:
      drawScreen in class GuiContainer
    • updateScreen

      public void updateScreen()
      Description copied from class: GuiContainer
      Called from the main game loop to update the screen.
      Overrides:
      updateScreen in class GuiContainer
    • actionPerformed

      protected void actionPerformed(GuiButton button)
      Description copied from class: GuiScreen
      Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
      Overrides:
      actionPerformed in class GuiScreen