Package megamek.client.bot.princess
Enum Class PathRanker.PathRankerType
- All Implemented Interfaces:
Serializable,Comparable<PathRanker.PathRankerType>,Constable
- Enclosing class:
PathRanker
The possible path ranker types. If you're adding a new one, add it here then make sure to add it to
Princess.InitializePathRankers
-
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 flying in an atmosphere, on either a ground mapsheet or a low-altitude map. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathRanker.PathRankerTypeReturns the enum constant of this class with the specified name.static PathRanker.PathRankerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Basic
-
Infantry
-
NewtonianAerospace
-
Utility
-
Aerospace
Airborne aerospace units flying in an atmosphere, on either a ground mapsheet or a low-altitude map. Distinct fromNewtonianAerospace, which covers vector movement instead.Princess registers its ordinary
BasicPathRankerhere, so this slot changes nothing for it; the slot exists so that CASPAR can replace atmospheric aerospace movement 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
-