Class SimpleButtonMask
java.lang.Object
io.github.projectunified.craftux.simple.SimpleButtonMask
A simple button mask
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleButtonMask
public SimpleButtonMask()
-
-
Method Details
-
setButton
Set the button- Parameters:
position
- the positionbutton
- the button
-
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
-