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 |
|---|---|
IResourceName |
getName() |
void |
render(IGameInstance game,
IAssetManager manager,
IGraphics g,
int x,
int y) |
getElementColor, getElementOutlineColor, getGuiColor, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onKeyboardAction, onMouseAction, renderOverlay, setActive, shouldDoFingerCursor, toString, updatepublic 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, IGraphics g, int x, int y)
render in class GuiComponentpublic IResourceName getName()
getName in class GuiComponent