public class GuiContainer extends Gui
| Modifier and Type | Field and Description |
|---|---|
static org.newdawn.slick.Color |
FIRE_COLOR |
ItemInstance |
holdingInst |
AbstractEntityPlayer |
player |
static org.newdawn.slick.Color |
PROGRESS_COLOR |
components, GRADIENT, guiLeft, guiTop, HOVER_INFO_BACKGROUND, parent, sizeX, sizeY| Constructor and Description |
|---|
GuiContainer(AbstractEntityPlayer player,
int sizeX,
int sizeY) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesPauseGame() |
void |
initGui(IGameInstance game) |
void |
onClosed(IGameInstance game) |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
render(IGameInstance game,
IAssetManager manager,
org.newdawn.slick.Graphics g) |
hasGradient, initGuiVars, isMouseOver, isMouseOverComponent, isMouseOverPrioritized, onButtonActivated, onKeyboardAction, onOpened, prioritize, renderOverlay, tryEscape, updatepublic static final org.newdawn.slick.Color PROGRESS_COLOR
public static final org.newdawn.slick.Color FIRE_COLOR
public final AbstractEntityPlayer player
public ItemInstance holdingInst
public GuiContainer(AbstractEntityPlayer player, int sizeX, int sizeY)
public void onClosed(IGameInstance game)
public boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class Guipublic void initGui(IGameInstance game)
public void render(IGameInstance game, IAssetManager manager, org.newdawn.slick.Graphics g)
public boolean doesPauseGame()
doesPauseGame in class Gui