-
- All Implemented Interfaces:
-
com.dp.advancedgunnerycontrol.combatgui.buttongroups.ButtonGroupAction
public final class WeaponGroupAction implements ButtonGroupAction
-
-
Method Summary
Modifier and Type Method Description Unitexecute(List<Object> data, Object selectedButtonData, Object deselectedButtonData)this method will get called when a button in this button group gets clicked by the user UnitonHover()Override this function to perform some kind of action when a button of the group is hovered over -
-
Method Detail
-
execute
Unit execute(List<Object> data, Object selectedButtonData, Object deselectedButtonData)
this method will get called when a button in this button group gets clicked by the user
- Parameters:
data- list of data of all currently active buttons (maybe empty)selectedButtonData- data of the button that was clicked if it was selected (null if button was deselected)deselectedButtonData- data of the button that was clicked if it was deselected (null if button was selected)
-
-
-
-