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