Interface ISingleSelectableCheatCommand
-
- All Superinterfaces:
ICheatCommand
- All Known Implementing Classes:
CreateShipCheat
public interface ISingleSelectableCheatCommand extends ICheatCommand
Define a cheat command that takes an additional argument that is selected from a list of values- 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>>
getOptions()
List of options to be displayed.void
setSelectedOption(GenericTriple<java.lang.String> option)
Set the option that was chosen.-
Methods inherited from interface ch.sahits.game.openpatrician.model.cheat.ICheatCommand
execute, getControlKey, getDescriptionTextKey, getKey
-
-
-
-
Method Detail
-
getOptions
java.util.List<GenericTriple<java.lang.String>> getOptions()
List of options to be displayed.- Returns:
-
setSelectedOption
void setSelectedOption(GenericTriple<java.lang.String> option)
Set the option that was chosen.- Parameters:
option
- that was chosen.
-
-