Enum Class Feat
- All Implemented Interfaces:
Serializable
,Comparable<Feat>
,Constable
Fighter feats enumeration.
- Since:
- 2018-12-08
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOptional OED fighter feats. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatName
(Feat feat) Format a feat name with spaces.static void
Main test function.static Feat
Returns the enum constant of this class with the specified name.static Feat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Berserking
Optional OED fighter feats. Caution: Not all are implemented in code at this time. -
ExceptionalStrength
-
GreatFortitude
-
IronWill
-
MountedCombat
-
RapidShot
-
RapidStrike
-
Survival
-
Toughness
-
Tracking
-
TwoWeaponFighting
-
WeaponSpecialization
-
-
Field Details
-
number
public static final int numberTotal number of feats available.
-
-
Constructor Details
-
Feat
private Feat()
-
-
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
-
formatName
Format a feat name with spaces. -
main
Main test function.
-