public enum TileGeometry extends Enum<TileGeometry>
| Modifier and Type | Method and Description |
|---|---|
static TileGeometry |
fromString(String s) |
TileGeometry |
opposite() |
static TileGeometry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TileGeometry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileGeometry NORTH
public static final TileGeometry SOUTH
public static final TileGeometry EAST
public static final TileGeometry WEST
public static final TileGeometry CENTER
public static TileGeometry[] values()
for (TileGeometry c : TileGeometry.values()) System.out.println(c);
public static TileGeometry 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 TileGeometry opposite()
public static TileGeometry fromString(String s)
Copyright © 2017. All Rights Reserved.