public class ComponentProgressBar extends GuiComponent
| Constructor and Description |
|---|
ComponentProgressBar(Gui gui,
int x,
int y,
int sizeX,
int sizeY,
int progressColor,
boolean isVertical,
java.util.function.Supplier<java.lang.Float> supplier) |
| Modifier and Type | Method and Description |
|---|---|
ResourceName |
getName() |
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, onMouseAction, renderOverlay, setActive, setPos, shouldDoFingerCursor, toString, update, updateInactivepublic ComponentProgressBar(Gui gui, int x, int y, int sizeX, int sizeY, int progressColor, boolean isVertical, java.util.function.Supplier<java.lang.Float> supplier)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
render in class GuiComponentpublic ResourceName getName()
getName in class GuiComponent