public static enum UnitTypeChange.ChangeType extends java.lang.Enum<UnitTypeChange.ChangeType>
Enum Constant and Description |
---|
CAPTURE |
CLEAR_SKILL |
CONVERSION |
CREATION |
DEMOTION |
EDUCATION |
ENTER_COLONY |
EXPERIENCE |
INDEPENDENCE |
LOST_CITY |
NATIVES |
PROMOTION |
UNDEAD |
Modifier and Type | Method and Description |
---|---|
static UnitTypeChange.ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitTypeChange.ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitTypeChange.ChangeType EDUCATION
public static final UnitTypeChange.ChangeType NATIVES
public static final UnitTypeChange.ChangeType EXPERIENCE
public static final UnitTypeChange.ChangeType LOST_CITY
public static final UnitTypeChange.ChangeType PROMOTION
public static final UnitTypeChange.ChangeType CREATION
public static final UnitTypeChange.ChangeType ENTER_COLONY
public static final UnitTypeChange.ChangeType INDEPENDENCE
public static final UnitTypeChange.ChangeType CLEAR_SKILL
public static final UnitTypeChange.ChangeType DEMOTION
public static final UnitTypeChange.ChangeType CAPTURE
public static final UnitTypeChange.ChangeType CONVERSION
public static final UnitTypeChange.ChangeType UNDEAD
public static UnitTypeChange.ChangeType[] values()
for (UnitTypeChange.ChangeType c : UnitTypeChange.ChangeType.values()) System.out.println(c);
public static UnitTypeChange.ChangeType 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