public static enum StaticTileProps.LogType extends java.lang.Enum<StaticTileProps.LogType>
| Enum Constant | Description |
|---|---|
BRANCH_LEFT |
|
BRANCH_RIGHT |
|
PLACED |
|
ROOT_LEFT |
|
ROOT_RIGHT |
|
TRUNK_BOTTOM |
|
TRUNK_MIDDLE |
|
TRUNK_TOP |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isNatural() |
|
static StaticTileProps.LogType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static StaticTileProps.LogType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticTileProps.LogType PLACED
public static final StaticTileProps.LogType BRANCH_LEFT
public static final StaticTileProps.LogType BRANCH_RIGHT
public static final StaticTileProps.LogType TRUNK_TOP
public static final StaticTileProps.LogType TRUNK_MIDDLE
public static final StaticTileProps.LogType TRUNK_BOTTOM
public static final StaticTileProps.LogType ROOT_LEFT
public static final StaticTileProps.LogType ROOT_RIGHT
public static StaticTileProps.LogType[] values()
for (StaticTileProps.LogType c : StaticTileProps.LogType.values()) System.out.println(c);
public static StaticTileProps.LogType 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 boolean isNatural()