Modifier and Type | Field and Description |
---|---|
static Terrain |
CLOSED_DOOR |
static Terrain |
EMPTY_SPACE |
static Terrain |
ENTRANCE |
static Terrain |
EXIT |
static Terrain |
FLOOR |
static Terrain |
LIQUID |
static Terrain |
OPEN_DOOR |
static Terrain |
WALL |
Modifier and Type | Method and Description |
---|---|
int |
colorIndex()
Returns the color for this terrain.
|
boolean |
equals(Object obj) |
int |
hashCode() |
char |
symbol()
Returns the character representation for this terrain.
|
public static final Terrain CLOSED_DOOR
public static final Terrain EMPTY_SPACE
public char symbol()
public int colorIndex()
Copyright © 2012–2016. All rights reserved.