public class GuiMerchant extends GuiContainer
inventorySlots
allowUserInput, height, width
icons, optionsBackground, statIcons
Constructor and Description |
---|
GuiMerchant(InventoryPlayer par1InventoryPlayer,
IMerchant par2IMerchant,
World par3World,
String par4Str) |
Modifier and Type | Method and Description |
---|---|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
IMerchant |
getIMerchant()
Gets the Instance of IMerchant interface.
|
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.
|
doesGuiPauseGame, onGuiClosed
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
public GuiMerchant(InventoryPlayer par1InventoryPlayer, IMerchant par2IMerchant, World par3World, String par4Str)
public void initGui()
initGui
in class GuiContainer
public void updateScreen()
updateScreen
in class GuiContainer
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiContainer
public IMerchant getIMerchant()