public static enum TunnelLayer.LayerMode extends java.lang.Enum<TunnelLayer.LayerMode>
Enum Constant and Description |
---|
CAVE
In cave mode this layer will carve out a void dictated by the floor and roof level settings and apply the
floor features to the terrain at the bottom of the void and the roof features, if any, to the terrain above
the void, if any.
|
FLOATING
In floating mode this layer will not carve out a void but place terrain at the level of the floor dimension,
to the depth dictated by the roof level settings.
|
Modifier and Type | Method and Description |
---|---|
static TunnelLayer.LayerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TunnelLayer.LayerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TunnelLayer.LayerMode CAVE
public static final TunnelLayer.LayerMode FLOATING
public static TunnelLayer.LayerMode[] values()
for (TunnelLayer.LayerMode c : TunnelLayer.LayerMode.values()) System.out.println(c);
public static TunnelLayer.LayerMode 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