public enum FaceDirection extends java.lang.Enum<FaceDirection>
Modifier and Type | Class and Description |
---|---|
static class |
FaceDirection.Constants |
static class |
FaceDirection.VertexInformation |
Modifier and Type | Field and Description |
---|---|
private static FaceDirection[] |
FACINGS |
private FaceDirection.VertexInformation[] |
vertexInfos |
Modifier and Type | Method and Description |
---|---|
static FaceDirection |
getFacing(Direction facing) |
FaceDirection.VertexInformation |
getVertexInformation(int index) |
static FaceDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FaceDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaceDirection DOWN
public static final FaceDirection UP
public static final FaceDirection NORTH
public static final FaceDirection SOUTH
public static final FaceDirection WEST
public static final FaceDirection EAST
private static final FaceDirection[] FACINGS
private final FaceDirection.VertexInformation[] vertexInfos
public static FaceDirection[] values()
for (FaceDirection c : FaceDirection.values()) System.out.println(c);
public static FaceDirection 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 nullpublic static FaceDirection getFacing(Direction facing)
public FaceDirection.VertexInformation getVertexInformation(int index)