Enum Constant and Description |
---|
BOTTOM |
LEFT |
LEFT_DEFENSE |
NOT_SET |
RIGHT |
RIGHT_DEFENSE |
TOP_DEFENSE |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
static EntrySide |
fromLabel(java.lang.String label) |
java.lang.String |
getLabel() |
EntrySide |
getOpposingSide() |
boolean |
isAttackerSide() |
static EntrySide |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntrySide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntrySide TOP_DEFENSE
public static final EntrySide RIGHT
public static final EntrySide RIGHT_DEFENSE
public static final EntrySide BOTTOM
public static final EntrySide LEFT_DEFENSE
public static final EntrySide LEFT
public static final EntrySide NOT_SET
public static EntrySide[] values()
for (EntrySide c : EntrySide.values()) System.out.println(c);
public static EntrySide 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 nullpublic java.lang.String getLabel()
public boolean isAttackerSide()
public EntrySide getOpposingSide()
public static EntrySide fromLabel(java.lang.String label)