Package | Description |
---|---|
game | |
gui |
Modifier and Type | Method and Description |
---|---|
Tile.Type |
Tile.getType()
Returns the Type of this Tile.
|
static Tile.Type |
Tile.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tile.Type[] |
Tile.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Tile(int r,
int c,
int g,
Tile.Type t)
Constructor: a new Tile at (r, c), with g amount of gold, and Type t.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
MazePanel.getIcon(Tile.Type type)
Return an image representing tile type type.
|
java.awt.image.BufferedImage |
GUI.getIcon(Tile.Type type)
Return an image representing tile type.
|