public static enum GoldModel.Directions extends java.lang.Enum<GoldModel.Directions>
Modifier and Type | Method and Description |
---|---|
int |
getXDelta() |
int |
getYDelta() |
static GoldModel.Directions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoldModel.Directions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoldModel.Directions EAST
public static final GoldModel.Directions WEST
public static final GoldModel.Directions NORTH
public static final GoldModel.Directions SOUTH
public static final GoldModel.Directions NONE
public static GoldModel.Directions[] values()
for (GoldModel.Directions c : GoldModel.Directions.values()) System.out.println(c);
public static GoldModel.Directions 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 int getXDelta()
public int getYDelta()