Class MessageBoxComponent
java.lang.Object
de.ellpeck.rockbottom.api.gui.component.GuiComponent
de.ellpeck.rockbottom.api.gui.component.MessageBoxComponent
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMessageBoxComponent(Gui gui, int x, int y, int width, int height, String message, float scale, boolean hasBackground, boolean appearsSlowly, Supplier<Boolean> supplier) -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanonMouseAction(IGameInstance game, int button, float x, float y) voidrender(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y) voidupdate(IGameInstance game) Methods inherited from class de.ellpeck.rockbottom.api.gui.component.GuiComponent
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, renderOverlay, setActive, setPos, shouldDoFingerCursor, toString, updateInactive
-
Constructor Details
-
MessageBoxComponent
-
-
Method Details
-
render
- Overrides:
renderin classGuiComponent
-
onMouseAction
- Overrides:
onMouseActionin classGuiComponent
-
update
- Overrides:
updatein classGuiComponent
-
getName
- Specified by:
getNamein classGuiComponent
-