public static enum CombatService.ElementalType extends java.lang.Enum<CombatService.ElementalType>
Modifier and Type | Field and Description |
---|---|
static int |
ACID |
static int |
BLAST |
static int |
COLD |
static int |
ELECTRICITY |
static int |
ENERGY |
static int |
HEAT |
static int |
KINETIC |
static int |
STUN |
Modifier and Type | Method and Description |
---|---|
static CombatService.ElementalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CombatService.ElementalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final int KINETIC
public static final int ENERGY
public static final int BLAST
public static final int STUN
public static final int HEAT
public static final int COLD
public static final int ACID
public static final int ELECTRICITY
public static CombatService.ElementalType[] values()
for (CombatService.ElementalType c : CombatService.ElementalType.values()) System.out.println(c);
public static CombatService.ElementalType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null