class GuiBeacon.PowerButton extends GuiBeacon.Button
Modifier and Type | Field and Description |
---|---|
private Potion |
effect |
private int |
tier |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
PowerButton(int buttonId,
int x,
int y,
Potion effectIn,
int tierIn) |
Modifier and Type | Method and Description |
---|---|
void |
drawButtonForegroundLayer(int mouseX,
int mouseY) |
drawButton, isSelected, setSelected
getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final Potion effect
private final int tier
public PowerButton(int buttonId, int x, int y, Potion effectIn, int tierIn)
public void drawButtonForegroundLayer(int mouseX, int mouseY)
drawButtonForegroundLayer
in class GuiButton