Interface IDoubleSelectableCheatCommand
-
- All Superinterfaces:
ICheatCommand
- All Known Implementing Classes:
AddWeaponToShipCheat
public interface IDoubleSelectableCheatCommand extends ICheatCommand
Cheat command taking two additional parameters.- Author:
- Andi Hotz, (c) Sahits GmbH, 2018 Created on May 04, 2018
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<GenericTriple<java.lang.String>>
getFirstOptions()
List of first options to be displayed.java.util.List<GenericTriple<java.lang.String>>
getSecondOptions()
List of second options to be displayed.void
setSelectedFirstOption(GenericTriple<java.lang.String> option)
Set the first option that was chosen.void
setSelectedSecondOption(GenericTriple<java.lang.String> option)
Set the first option that was chosen.void
setupModel()
Hook to update the model at the time it is used to display the options.-
Methods inherited from interface ch.sahits.game.openpatrician.model.cheat.ICheatCommand
execute, getControlKey, getDescriptionTextKey, getKey
-
-
-
-
Method Detail
-
getFirstOptions
java.util.List<GenericTriple<java.lang.String>> getFirstOptions()
List of first options to be displayed.- Returns:
-
getSecondOptions
java.util.List<GenericTriple<java.lang.String>> getSecondOptions()
List of second options to be displayed.- Returns:
-
setSelectedFirstOption
void setSelectedFirstOption(GenericTriple<java.lang.String> option)
Set the first option that was chosen.- Parameters:
option
- that was chosen.
-
setSelectedSecondOption
void setSelectedSecondOption(GenericTriple<java.lang.String> option)
Set the first option that was chosen.- Parameters:
option
- that was chosen.
-
setupModel
void setupModel()
Hook to update the model at the time it is used to display the options.
-
-