Class SingleMask
java.lang.Object
io.github.projectunified.craftux.mask.SingleMask
The simple mask with a single button
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
position
-
button
-
-
Constructor Details
-
SingleMask
Create a new mask- Parameters:
position
- the positionbutton
- the button
-
-
Method Details
-
init
public void init()Description copied from interface:Element
Initialize the element. Should be called before adding to the GUI. -
stop
public void stop()Description copied from interface:Element
Stop the element. Should be called after removing from the GUI. -
apply
Description copied from interface:Mask
Get a map of positions to action item consumers
-