Enum Class AerospaceFocus

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

public enum AerospaceFocus extends Enum<AerospaceFocus>
A player's standing order to a bot's flight: what its priority target set is this battle.

Issued through the AERO_FOCUS chat command (and, in a later UI, the bot commands panel). This is a battle order, not saved configuration - it lives as runtime state on the bot, like hold-position, and resets with the bot client.

Orders bias, they never blind: the doctrine consumes the focus as a multiplier pair on its air-to-air and air-to-ground credit sets, so a Focus-Ground fighter with a free shot at a laden bomber can still take it. The measured basis for shipping this as an order rather than a doctrine default: the intercept tuning run of 2026-08-14, where a standing air-priority equivalent (intercept weight 0.6) won the air war and lost the battle 0.71:1 - the fighters chased enemy air while their ground lance died unsupported. Air superiority at ground cost is a choice the player makes, not one the doctrine assumes.

  • Enum Constant Details

    • AEROSPACE

      public static final AerospaceFocus AEROSPACE
      Press the air battle first: air-to-air credit doubled, ground-attack credit quartered.
    • GROUND

      public static final AerospaceFocus GROUND
      Support the ground force first: ground-attack credit doubled, air-to-air credit quartered.
    • AUTO

      public static final AerospaceFocus AUTO
      No standing order - the doctrine weighs both halves itself. The default.
  • Method Details

    • values

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