Enum Class PathRanker.PathRankerType

java.lang.Object
java.lang.Enum<PathRanker.PathRankerType>
megamek.client.bot.princess.PathRanker.PathRankerType
All Implemented Interfaces:
Serializable, Comparable<PathRanker.PathRankerType>, Constable
Enclosing class:
PathRanker

public static enum PathRanker.PathRankerType extends Enum<PathRanker.PathRankerType>
The possible path ranker types. If you're adding a new one, add it here then make sure to add it to Princess.InitializePathRankers
  • Enum Constant Details

  • Method Details

    • values

      public static PathRanker.PathRankerType[] 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 PathRanker.PathRankerType 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