java.io.Serializable
, java.lang.Comparable<CostDef.CostType>
public static enum CostDef.CostType extends java.lang.Enum<CostDef.CostType>
Enum Constant | Description |
---|---|
GOLD |
|
HITPOINT |
|
MANA |
|
MOVEMENT |
|
PRACTICE |
|
QP |
|
TRAIN |
|
XP |
Modifier and Type | Method | Description |
---|---|---|
static CostDef.CostType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CostDef.CostType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CostDef.CostType TRAIN
public static final CostDef.CostType PRACTICE
public static final CostDef.CostType MANA
public static final CostDef.CostType MOVEMENT
public static final CostDef.CostType HITPOINT
public static final CostDef.CostType XP
public static final CostDef.CostType GOLD
public static final CostDef.CostType QP
public static CostDef.CostType[] values()
for (CostDef.CostType c : CostDef.CostType.values()) System.out.println(c);
public static CostDef.CostType 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