public enum CurtainType extends java.lang.Enum<CurtainType>
| Enum Constant and Description |
|---|
fade
Fade-in curtain blocks in a specific direction.
|
fill
Fill (and fade-in) curtain blocks in a specific direction.
|
random
Any random curtain type each time (always first in enum).
|
slide
Slide (and fade-in) curtain blocks from a specific side in a specific direction.
|
| Modifier and Type | Method and Description |
|---|---|
static CurtainType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CurtainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurtainType random
public static final CurtainType fade
public static final CurtainType fill
public static final CurtainType slide
public static CurtainType[] values()
for (CurtainType c : CurtainType.values()) System.out.println(c);
public static CurtainType 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