public enum SimplePlayerActions extends java.lang.Enum<SimplePlayerActions>
Enum Constant and Description |
---|
ATTACK |
CHALLENGE |
EXAMINE |
FIFTH |
FIRST |
FOLLOW |
FOURTH |
SECOND |
THIRD |
TRADE |
Modifier and Type | Method and Description |
---|---|
int |
getActionId() |
static SimplePlayerActions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimplePlayerActions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimplePlayerActions FIRST
public static final SimplePlayerActions SECOND
public static final SimplePlayerActions THIRD
public static final SimplePlayerActions FOURTH
public static final SimplePlayerActions FIFTH
public static final SimplePlayerActions FOLLOW
public static final SimplePlayerActions TRADE
public static final SimplePlayerActions ATTACK
public static final SimplePlayerActions CHALLENGE
public static final SimplePlayerActions EXAMINE
public static SimplePlayerActions[] values()
for (SimplePlayerActions c : SimplePlayerActions.values()) System.out.println(c);
public static SimplePlayerActions 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 nullpublic int getActionId()