public static enum PP.Coalition extends java.lang.Enum<PP.Coalition>
Enum Constant and Description |
---|
ALLY_COALITION |
ENEMY_COALITION |
MY_COALITION |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PP.Coalition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PP.Coalition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PP.Coalition MY_COALITION
public static final PP.Coalition ALLY_COALITION
public static final PP.Coalition ENEMY_COALITION
public static PP.Coalition[] values()
for (PP.Coalition c : PP.Coalition.values()) System.out.println(c);
public static PP.Coalition 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 getValue()