public static enum Robot.AttackType extends java.lang.Enum<Robot.AttackType>
| Modifier and Type | Method and Description |
|---|---|
static Robot.AttackType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Robot.AttackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Robot.AttackType MELEE
public static final Robot.AttackType RANGED
public static final Robot.AttackType CAPSULE
public static Robot.AttackType[] values()
for (Robot.AttackType c : Robot.AttackType.values()) System.out.println(c);
public static Robot.AttackType 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 null