public static enum SavingThrows.SaveType extends Enum<SavingThrows.SaveType>
Enum Constant and Description |
---|
Breath |
Death |
Paralysis |
Petrify |
Spell |
Modifier and Type | Field and Description |
---|---|
static int |
length
Total number of save types available.
|
Modifier and Type | Method and Description |
---|---|
static SavingThrows.SaveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SavingThrows.SaveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SavingThrows.SaveType Death
public static final SavingThrows.SaveType Paralysis
public static final SavingThrows.SaveType Petrify
public static final SavingThrows.SaveType Breath
public static final SavingThrows.SaveType Spell
public static SavingThrows.SaveType[] values()
for (SavingThrows.SaveType c : SavingThrows.SaveType.values()) System.out.println(c);
public static SavingThrows.SaveType 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 null