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