public enum ESurfaceType extends Enum<ESurfaceType>
| Enum Constant and Description |
|---|
Default |
Dirt |
Flesh |
Glass |
Ice |
Metal |
Plant |
Rock |
Snow |
Water |
Wood |
| Modifier and Type | Method and Description |
|---|---|
static ESurfaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESurfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESurfaceType Default
public static final ESurfaceType Rock
public static final ESurfaceType Dirt
public static final ESurfaceType Metal
public static final ESurfaceType Wood
public static final ESurfaceType Plant
public static final ESurfaceType Flesh
public static final ESurfaceType Ice
public static final ESurfaceType Snow
public static final ESurfaceType Water
public static final ESurfaceType Glass
public static ESurfaceType[] values()
for (ESurfaceType c : ESurfaceType.values()) System.out.println(c);
public static ESurfaceType 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 nullCopyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.