public enum DisplayInteract extends java.lang.Enum<DisplayInteract>
Enum Constant and Description |
---|
LEFT_CLICK
Occurs when a player left clicks a BoardFrame
|
LOOK
Occurs when a player is looking at a BoardFrame
|
PROJECTILE
Occurs when a projectile hits a BoardFrame
|
RIGHT_CLICK
Occurs when a player right clicks a BoardFrame
|
Modifier and Type | Method and Description |
---|---|
static DisplayInteract |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayInteract[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayInteract LEFT_CLICK
public static final DisplayInteract RIGHT_CLICK
public static final DisplayInteract LOOK
public static final DisplayInteract PROJECTILE
public static DisplayInteract[] values()
for (DisplayInteract c : DisplayInteract.values()) System.out.println(c);
public static DisplayInteract 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