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