|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jzuul.engine.Directions
Diese Klasse definiert Konstanten für Type Variablen in der GameMap
| Field Summary | |
static int |
BELOW
Semantischer Alias für BELOW_OF |
static int |
BELOW_OF
Room befindet sich unter Room (es existiert eine Treppe) |
static int |
DIRECTION_ERROR
Ein Richtungsfehler |
static int |
EAST
Semantischer Alias für EAST_OF |
static int |
EAST_OF
Room befindet sich im Osten von Room |
static int |
NORTH
Semantischer Alias für NORTH_OF |
static int |
NORTH_OF
Room befindet sich im Norden von Room |
static int |
NUMBER_OF_DIRECTIONS
Die Anzahl der unterschiedlichen Richtungen |
static int |
SOUTH
Semantischer Alias für SOUTH_OF |
static int |
SOUTH_OF
Room befindes sich im Süden von Room |
static int |
TOP
Semantischer Alias für TOP_OF |
static int |
TOP_OF
Room befindet sich über Room (es existiert eine Treppe) |
static int |
WEST
Semantischer Alias für WEST_OF |
static int |
WEST_OF
Room befindes sich im Westen von Room |
| Constructor Summary | |
Directions()
|
|
| Method Summary | |
static int |
directionToInt(String direction)
Wandelt einen Richtungsnamen in seine Zahl um |
static String |
getDirectionName(int direction)
Wandelt eine Direction Konstante in die text Representation um |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NUMBER_OF_DIRECTIONS
public static final int NORTH_OF
public static final int EAST_OF
public static final int SOUTH_OF
public static final int WEST_OF
public static final int TOP_OF
public static final int BELOW_OF
public static final int NORTH
public static final int EAST
public static final int SOUTH
public static final int WEST
public static final int TOP
public static final int BELOW
public static final int DIRECTION_ERROR
| Constructor Detail |
public Directions()
| Method Detail |
public static String getDirectionName(int direction)
direction - Eine direction Konstante
public static int directionToInt(String direction)
direction - der Name einer Himmelrichtung
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||