Enum Class Skill
- All Implemented Interfaces:
Serializable,Comparable<Skill>,Constable
All possible citizen skills with their complementaries and adversaries.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable SkillThe adverse skill that loses xp with the skill.abstract @Nullable SkillThe complimentary skill that levels up with the skill.static SkillReturns the enum constant of this class with the specified name.static Skill[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Athletics
-
Dexterity
-
Strength
-
Agility
-
Stamina
-
Mana
-
Adaptability
-
Focus
-
Creativity
-
Knowledge
-
Intelligence
-
-
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
-
getComplimentary
The complimentary skill that levels up with the skill.- Returns:
- the complimentary skill.
-
getAdverse
The adverse skill that loses xp with the skill.- Returns:
- the adverse skill.
-