rlgamekit.demo.walkaround
Class FeatureCodes
java.lang.Object
rlgamekit.demo.walkaround.FeatureCodes
public class FeatureCodes
- extends java.lang.Object
Constants for dungeon features.
|
Method Summary |
static int |
getFeature(int tileNo)
Extract feature number for a color+feature code |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUND
public static final int GROUND
- Strictly seen, this is not a feature ...
- See Also:
- Constant Field Values
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
WALL_BRICKS
public static final int WALL_BRICKS
- See Also:
- Constant Field Values
WALL_ROCK
public static final int WALL_ROCK
- See Also:
- Constant Field Values
STAIRS_UP
public static final int STAIRS_UP
- See Also:
- Constant Field Values
DOOR_SHUT
public static final int DOOR_SHUT
- See Also:
- Constant Field Values
DOOR_OPEN
public static final int DOOR_OPEN
- See Also:
- Constant Field Values
FOUNTAIN
public static final int FOUNTAIN
- See Also:
- Constant Field Values
TREE
public static final int TREE
- See Also:
- Constant Field Values
FeatureCodes
public FeatureCodes()
getFeature
public static final int getFeature(int tileNo)
- Extract feature number for a color+feature code
- Parameters:
tileNo - the code containing color + feature;
- Returns:
- The feature number.