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