Class ConfirmationPopupComponent
java.lang.Object
de.ellpeck.rockbottom.api.gui.component.GuiComponent
de.ellpeck.rockbottom.api.gui.component.ConfirmationPopupComponent
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConfirmationPopupComponent(Gui gui, int x, int y, Consumer<Boolean> consumer) -
Method Summary
Modifier and TypeMethodDescriptiongetName()intbooleanonMouseAction(IGameInstance game, int button, float x, float y) voidrender(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y) booleanMethods inherited from class de.ellpeck.rockbottom.api.gui.component.GuiComponent
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, renderOverlay, setActive, setPos, toString, update, updateInactive
-
Constructor Details
-
ConfirmationPopupComponent
-
-
Method Details
-
render
- Overrides:
renderin classGuiComponent
-
onMouseAction
- Overrides:
onMouseActionin classGuiComponent
-
getName
- Specified by:
getNamein classGuiComponent
-
shouldDoFingerCursor
- Overrides:
shouldDoFingerCursorin classGuiComponent
-
getPriority
public int getPriority()- Overrides:
getPriorityin classGuiComponent
-