public static enum Direction.Plane extends Enum<Direction.Plane> implements Predicate<Direction>, Iterable<Direction>
| Enum Constant and Description |
|---|
HORIZONTAL |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Direction> |
iterator() |
Direction |
random() |
Direction |
random(net.daporkchop.lib.random.PRandom rand) |
Direction |
random(Random rand) |
boolean |
test(Direction face) |
static Direction.Plane |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Direction.Plane[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfforEach, spliteratorpublic static final Direction.Plane HORIZONTAL
public static final Direction.Plane VERTICAL
public static Direction.Plane[] values()
for (Direction.Plane c : Direction.Plane.values()) System.out.println(c);
public static Direction.Plane valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Direction random()
public Direction random(net.daporkchop.lib.random.PRandom rand)
Copyright © 2020. All rights reserved.