public enum ResourceBarElement extends java.lang.Enum<ResourceBarElement>
Enum Constant and Description |
---|
BRICK |
BUY_CARD |
CITY |
ORE |
PLAY_CARD |
ROAD |
SETTLEMENT |
SHEEP |
SOLDIERS |
WHEAT |
WOOD |
Modifier and Type | Method and Description |
---|---|
static ResourceBarElement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceBarElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceBarElement WOOD
public static final ResourceBarElement BRICK
public static final ResourceBarElement SHEEP
public static final ResourceBarElement WHEAT
public static final ResourceBarElement ORE
public static final ResourceBarElement ROAD
public static final ResourceBarElement SETTLEMENT
public static final ResourceBarElement CITY
public static final ResourceBarElement BUY_CARD
public static final ResourceBarElement PLAY_CARD
public static final ResourceBarElement SOLDIERS
public static ResourceBarElement[] values()
for (ResourceBarElement c : ResourceBarElement.values()) System.out.println(c);
public static ResourceBarElement 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