-
- All Implemented Interfaces:
-
com.dp.advancedgunnerycontrol.combatgui.buttongroups.ButtonGroupAction
public final class ShipAiAction implements ButtonGroupAction
-
-
Constructor Summary
Constructors Constructor Description ShipAiAction(ShipAPI ship)
-
Method Summary
-
-
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)
-
-
-
-