Class SingleMask
java.lang.Object
me.hsgamer.hscore.minecraft.gui.mask.BaseMask
me.hsgamer.hscore.minecraft.gui.mask.impl.SingleMask
- All Implemented Interfaces:
Mask,me.hsgamer.hscore.ui.property.Initializable
The simple mask with a single
Button-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSingleMask(@NotNull String name, int slot, @NotNull Button button) Create a new mask -
Method Summary
-
Field Details
-
slot
protected final int slot -
button
-
-
Constructor Details
-
SingleMask
Create a new mask- Parameters:
name- the name of the maskslot- the slotbutton- the button
-
-
Method Details
-
generateButtons
Description copied from interface:MaskGenerate the buttons for the unique id- Parameters:
uuid- the unique idsize- the size of the inventory- Returns:
- the map contains the slots and the buttons
-
init
public void init() -
stop
public void stop()
-