Interface ICheatCommand

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void execute()
      Execute this cheat.
      javafx.scene.input.KeyCode getControlKey()
      Retrieve the control key that goes with the cheat command.
      java.lang.String getDescriptionTextKey()
      Retrieve the text key for describing the cheat.
      javafx.scene.input.KeyCode getKey()
      Retrieve the key that will activate this cheat together with the control key.
    • Method Detail

      • getControlKey

        javafx.scene.input.KeyCode getControlKey()
        Retrieve the control key that goes with the cheat command.
        Returns:
        control key (like Ctrl, Shift, Alt)
      • getKey

        javafx.scene.input.KeyCode getKey()
        Retrieve the key that will activate this cheat together with the control key.
        Returns:
        cheat key
      • getDescriptionTextKey

        java.lang.String getDescriptionTextKey()
        Retrieve the text key for describing the cheat.
        Returns:
        text key.
      • execute

        void execute()
        Execute this cheat.