public class ComponentConfirmationPopup extends GuiComponent
| Constructor and Description |
|---|
ComponentConfirmationPopup(Gui gui,
int x,
int y,
java.util.function.Consumer<java.lang.Boolean> consumer) |
| Modifier and Type | Method and Description |
|---|---|
IResourceName |
getName() |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
render(IGameInstance game,
IAssetManager manager,
IGraphics g,
int x,
int y) |
getElementColor, getElementOutlineColor, getGuiColor, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getX, getY, isMouseOver, isMouseOverPrioritized, onKeyboardAction, renderOverlay, toString, updatepublic ComponentConfirmationPopup(Gui gui, int x, int y, java.util.function.Consumer<java.lang.Boolean> consumer)
public void render(IGameInstance game, IAssetManager manager, IGraphics g, int x, int y)
render in class GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class GuiComponentpublic IResourceName getName()
getName in class GuiComponent