public enum InteractAction extends Enum<InteractAction>
| Enum Constant and Description |
|---|
ATTACK |
INTERACT |
INTERACT_AT |
| Modifier and Type | Method and Description |
|---|---|
static InteractAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractAction INTERACT
public static final InteractAction ATTACK
public static final InteractAction INTERACT_AT
public static InteractAction[] values()
for (InteractAction c : InteractAction.values()) System.out.println(c);
public static InteractAction 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 nullCopyright © 2020. All rights reserved.