Enum Class Skill.StatType
- All Implemented Interfaces:
Serializable
,Comparable<Skill.StatType>
,Constable
- Enclosing class:
Skill
Enumeration of all possible stats that a skill can modify.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIncreases the player's attack damage.Increases the player's critical hit chance.Increases the player's defense.Increases the player's firing speed.Increases the player's health. -
Method Summary
Modifier and TypeMethodDescriptionstatic Skill.StatType
Returns the enum constant of this class with the specified name.static Skill.StatType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEALTH
Increases the player's health. -
ATTACK_DAMAGE
Increases the player's attack damage. -
FIRING_SPEED
Increases the player's firing speed. -
CRIT_CHANCE
Increases the player's critical hit chance. -
CURRENCY_GEN
Increases the player's defense.
-
-
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
-