Package de.ellpeck.rockbottom.api.gui
Class ContainerGui
java.lang.Object
de.ellpeck.rockbottom.api.gui.Gui
de.ellpeck.rockbottom.api.gui.ContainerGui
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class de.ellpeck.rockbottom.api.gui.Gui
components, GRADIENT_COLOR, hasUnspecifiedBounds, height, HOVER_INFO_BACKGROUND, parent, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintintvoidinit(IGameInstance game) voidonClosed(IGameInstance game) booleanonMouseAction(IGameInstance game, int button, float x, float y) voidrender(IGameInstance game, IAssetManager manager, IRenderer g) booleanMethods inherited from class de.ellpeck.rockbottom.api.gui.Gui
getComponents, getHeight, getName, getWidth, getX, getY, hasGradient, isMouseOver, isMouseOverComponent, isMouseOverPrioritized, onCharInput, onKeyPressed, onOpened, renderOverlay, shouldDoFingerCursor, sortComponents, toString, tryEscape, update, updateDimensions
-
Field Details
-
shiftClickBehaviors
-
player
-
-
Constructor Details
-
ContainerGui
-
-
Method Details
-
onClosed
-
onMouseAction
- Overrides:
onMouseActionin classGui
-
canCloseWithInvKey
public boolean canCloseWithInvKey()- Overrides:
canCloseWithInvKeyin classGui
-
init
-
render
-
doesPauseGame
public boolean doesPauseGame()- Overrides:
doesPauseGamein classGui
-
shouldCloseContainer
public boolean shouldCloseContainer() -
getSlotOffsetX
public int getSlotOffsetX() -
getSlotOffsetY
public int getSlotOffsetY() -
getContainer
-