Enum Class Feat

All Implemented Interfaces:
Serializable, Comparable<Feat>, Constable

public enum Feat extends Enum<Feat>
Fighter feats enumeration.
Since:
2018-12-08
  • Enum Constant Details

    • Berserking

      public static final Feat Berserking
      Optional OED fighter feats. Caution: Not all are implemented in code at this time.
    • ExceptionalStrength

      public static final Feat ExceptionalStrength
    • GreatFortitude

      public static final Feat GreatFortitude
    • IronWill

      public static final Feat IronWill
    • MountedCombat

      public static final Feat MountedCombat
    • RapidShot

      public static final Feat RapidShot
    • RapidStrike

      public static final Feat RapidStrike
    • Survival

      public static final Feat Survival
    • Toughness

      public static final Feat Toughness
    • Tracking

      public static final Feat Tracking
    • TwoWeaponFighting

      public static final Feat TwoWeaponFighting
    • WeaponSpecialization

      public static final Feat WeaponSpecialization
  • Field Details

    • number

      public static final int number
      Total number of feats available.
  • Constructor Details

    • Feat

      private Feat()
  • Method Details

    • values

      public static Feat[] 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 Feat 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
    • formatName

      public static String formatName(Feat feat)
      Format a feat name with spaces.
    • main

      public static void main(String[] args)
      Main test function.