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