battlecode.common
public enum RobotLevel extends Enum<RobotLevel>
| Enum Constant and Description |
|---|
ON_GROUND
The vertical location of ground robots.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Returns an integral height-wise ordering of the height type.
|
static RobotLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RobotLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RobotLevel ON_GROUND
public static RobotLevel[] values()
for (RobotLevel c : RobotLevel.values()) System.out.println(c);
public static RobotLevel 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 int getHeight()