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 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.