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