Package megamek.client.bot.princess
Enum Class FireControl.FireControlType
- All Implemented Interfaces:
Serializable,Comparable<FireControl.FireControlType>,Constable
- Enclosing class:
FireControl
The possible fire control types. If you're adding a new one, add it here then make sure to add it to
Princess.InitializeFireControls
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAirborne aerospace units firing in an atmosphere, where the dead zone can make a shot illegal on geometry alone. -
Method Summary
Modifier and TypeMethodDescriptionstatic FireControl.FireControlTypeReturns the enum constant of this class with the specified name.static FireControl.FireControlType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Basic
-
Infantry
-
MultiTarget
-
Aerospace
Airborne aerospace units firing in an atmosphere, where the dead zone can make a shot illegal on geometry alone.Princess registers its ordinary
FireControlhere, so this slot changes nothing for it; the slot exists so that CASPAR can replace atmospheric aerospace gunnery on its own.
-
-
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
-