Package megamek.client.bot.princess
Enum Class AerospaceGroundOrder
- All Implemented Interfaces:
Serializable,Comparable<AerospaceGroundOrder>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AerospaceGroundOrderReturns the enum constant of this class with the specified name.static AerospaceGroundOrder[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIFT_OFF
Grounded DropShips and small craft take off when it is safe and legal to do so. -
LAND
Airborne DropShips and small craft land when it is safe and legal to do so. -
AUTO
No standing order: DropShips and small craft hold their current domain. The default.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-