public static enum Dimension.Role extends java.lang.Enum<Dimension.Role>
Dimension
within a game dimension.Enum Constant and Description |
---|
CAVE_FLOOR
A dimension associated with a
TunnelLayer floor in cave mode. |
DETAIL
A detail dimension.
|
FLOATING_FLOOR
A dimension associated with a
TunnelLayer floor in floating dimension mode. |
MASTER
A master dimension that is exported where no detail dimension exists, at 1:16 scale.
|
Modifier and Type | Method and Description |
---|---|
static Dimension.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dimension.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dimension.Role DETAIL
public static final Dimension.Role MASTER
public static final Dimension.Role CAVE_FLOOR
TunnelLayer
floor in cave mode. The Dimension.Anchor.id
field is used to
associate it with a particular layer.public static final Dimension.Role FLOATING_FLOOR
TunnelLayer
floor in floating dimension mode. The Dimension.Anchor.id
field is used to associate it with a particular layer.public static Dimension.Role[] values()
for (Dimension.Role c : Dimension.Role.values()) System.out.println(c);
public static Dimension.Role 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