Enum Constant and Description |
---|
CHA
Charisma
|
CON
Constitution
|
DEX
Dexterity
|
INT
Intelligence
|
STR
Strength
|
WIS
Wisdom
|
Modifier and Type | Method and Description |
---|---|
Keyword |
getKeyword() |
static Stat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stat CHA
public static final Stat WIS
public static final Stat INT
public static final Stat CON
public static final Stat DEX
public static final Stat STR
public static Stat[] values()
for (Stat c : Stat.values()) System.out.println(c);
public static Stat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Keyword getKeyword()