Enum Class AbilityCategory

java.lang.Object
java.lang.Enum<AbilityCategory>
mekhq.utilities.spaUtilities.enums.AbilityCategory
All Implemented Interfaces:
Serializable, Comparable<AbilityCategory>, Constable

public enum AbilityCategory extends Enum<AbilityCategory>
Enum AbilityCategory represents the categories abilities can belong to. Categories available:
  • COMBAT_ABILITIES: Abilities related to combat actions
  • MANEUVERING_ABILITIES: Abilities related to movement and maneuvering
  • UTILITY_ABILITIES: Abilities providing utility or non-combat benefits
  • CHARACTER_FLAW: Abilities that inflict penalties in exchange for XP
  • CHARACTER_CREATION_ONLY: Abilities that can only be selected when the character is created
Since:
0.50.06
  • Enum Constant Details

  • Method Details

    • values

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