public enum BoardLocation extends java.lang.Enum<BoardLocation>
Enum Constant and Description |
---|
Active |
Attachment |
Bench |
Deck |
DiscardPile |
Hand |
Prize |
Stadium |
Trainer |
Modifier and Type | Method and Description |
---|---|
static BoardLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoardLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoardLocation Hand
public static final BoardLocation Active
public static final BoardLocation Bench
public static final BoardLocation Trainer
public static final BoardLocation Stadium
public static final BoardLocation Prize
public static final BoardLocation Attachment
public static final BoardLocation DiscardPile
public static final BoardLocation Deck
public static BoardLocation[] values()
for (BoardLocation c : BoardLocation.values()) System.out.println(c);
public static BoardLocation 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