Enum Class AerospaceGroundOrder

java.lang.Object
java.lang.Enum<AerospaceGroundOrder>
megamek.client.bot.princess.AerospaceGroundOrder
All Implemented Interfaces:
Serializable, Comparable<AerospaceGroundOrder>, Constable

public enum AerospaceGroundOrder extends Enum<AerospaceGroundOrder>
A player's standing order to a bot's DropShips and small craft: get in the air, get on the ground, or leave it to doctrine.

Issued through the AERO_LIFT chat command (and, in a later UI, the bot commands panel). Fighters are unaffected - a grounded fighter's job is always to get back up, and the takeoff doctrine handles it without orders. DropShips and small craft are different: one on the ground may be doing its job (cargo, fortress fire support), so under AUTO they stay where they are and only a player order moves them between ground and sky. Runtime state like hold-position, not saved configuration.

  • Enum Constant Details

    • LIFT_OFF

      public static final AerospaceGroundOrder LIFT_OFF
      Grounded DropShips and small craft take off when it is safe and legal to do so.
    • LAND

      public static final AerospaceGroundOrder LAND
      Airborne DropShips and small craft land when it is safe and legal to do so.
    • AUTO

      public static final AerospaceGroundOrder AUTO
      No standing order: DropShips and small craft hold their current domain. The default.
  • Method Details

    • values

      public static AerospaceGroundOrder[] 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 AerospaceGroundOrder 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