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