Enum Class ShipCommand

java.lang.Object
java.lang.Enum<ShipCommand>
com.fs.starfarer.api.combat.ShipCommand
All Implemented Interfaces:
Serializable, Comparable<ShipCommand>, Constable

public enum ShipCommand extends Enum<ShipCommand>
  • Enum Constant Details

    • TURN_LEFT

      public static final ShipCommand TURN_LEFT
    • TURN_RIGHT

      public static final ShipCommand TURN_RIGHT
    • STRAFE_LEFT

      public static final ShipCommand STRAFE_LEFT
    • STRAFE_RIGHT

      public static final ShipCommand STRAFE_RIGHT
    • ACCELERATE

      public static final ShipCommand ACCELERATE
    • ACCELERATE_BACKWARDS

      public static final ShipCommand ACCELERATE_BACKWARDS
    • DECELERATE

      public static final ShipCommand DECELERATE
    • SELECT_GROUP

      public static final ShipCommand SELECT_GROUP
    • USE_SELECTED_GROUP

      @Deprecated public static final ShipCommand USE_SELECTED_GROUP
      Deprecated.
      Use "FIRE" instead.
    • TOGGLE_AUTOFIRE

      public static final ShipCommand TOGGLE_AUTOFIRE
    • FIRE

      public static final ShipCommand FIRE
    • VENT_FLUX

      public static final ShipCommand VENT_FLUX
    • TOGGLE_SHIELD_OR_PHASE_CLOAK

      public static final ShipCommand TOGGLE_SHIELD_OR_PHASE_CLOAK
    • HOLD_FIRE

      public static final ShipCommand HOLD_FIRE
    • PULL_BACK_FIGHTERS

      public static final ShipCommand PULL_BACK_FIGHTERS
    • USE_SYSTEM

      public static final ShipCommand USE_SYSTEM
  • Method Details

    • values

      public static ShipCommand[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ShipCommand valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null