|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sg.edu.nus.comp.cs3243.pipedream.Constants
The Constants class holds all of the constants for all of the classes in the pipedream package
$Log: Constants.java,v $ Revision 1.1 2004/01/15 08:48:49 rpnlpir Initial revision
Field Summary | |
static char |
BOTTOM_LEFT_ELBOW_PIECE
An elbow joint piece 'z' One of the pieces that can appear on the queue |
static char |
BOTTOM_RIGHT_ELBOW_PIECE
An elbow joint piece 'c' One of the pieces that can appear on the queue |
static char |
CROSS_PIECE
A cross piece '+'. |
static int |
DEFAULT_MAX_X
The default X size of the board, 7. |
static int |
DEFAULT_MAX_Y
The default Y size of the board, 7. |
static int |
DEFAULT_START_X
The default X coordinate of the start, 3. |
static int |
DEFAULT_START_Y
The default Y coordinate of the start, 3. |
static char |
DESTROY_ACTION
The DESTROY action. |
static char |
EMPTY_PIECE
An empty piece ' ' |
static int |
FILLED
Indicates that a piece is fully filled with ooze (e.g., cross pieces that are filled both NS and EW) |
static int |
FILLED_EW_ONLY
The fill status of a cross piece that has been filled only horizontally |
static int |
FILLED_NS_ONLY
The fill status of a cross piece that has been filled only vertically |
static int |
FLOWING_EAST
The value of getNextOozeDirection(), indicating that the flow is heading eastwards |
static int |
FLOWING_NORTH
The value of getNextOozeDirection(), indicating that the flow is heading northwards |
static int |
FLOWING_SOUTH
The value of getNextOozeDirection(), indicating that the flow is heading southwards |
static int |
FLOWING_WEST
The value of getNextOozeDirection(), indicating that the flow is heading westwards |
static char |
HORIZONTAL_PIECE
A horizontal pipe piece '-' One of the pieces that can appear on the queue |
static int |
MAX_NORMAL_PIECE
The total number of normal pipe pieces that can occur in the queue |
static int |
NOT_FILLED
Indicates that a piece has not been filled. |
static char |
PLACE_ACTION
The PLACE action. |
static char |
START_TOP_PIECE
The start piece '\'' |
static char |
TOP_LEFT_ELBOW_PIECE
An elbow joint piece 'q' One of the pieces that can appear on the queue |
static char |
TOP_RIGHT_ELBOW_PIECE
An elbow joint piece 'e' One of the pieces that can appear on the queue |
static char |
VERTICAL_PIECE
A vertical piece '|' One of the pieces that can appear on the queue |
static char |
WAIT_ACTION
The WAIT action. |
Constructor Summary | |
Constants()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final char EMPTY_PIECE
CROSS_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char CROSS_PIECE
EMPTY_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char VERTICAL_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char HORIZONTAL_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
VERTICAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char TOP_LEFT_ELBOW_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char TOP_RIGHT_ELBOW_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char BOTTOM_LEFT_ELBOW_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char BOTTOM_RIGHT_ELBOW_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
START_TOP_PIECE
public static final char START_TOP_PIECE
EMPTY_PIECE
,
CROSS_PIECE
,
VERTICAL_PIECE
,
HORIZONTAL_PIECE
,
TOP_LEFT_ELBOW_PIECE
,
TOP_RIGHT_ELBOW_PIECE
,
BOTTOM_LEFT_ELBOW_PIECE
,
BOTTOM_RIGHT_ELBOW_PIECE
public static final int MAX_NORMAL_PIECE
public static final int NOT_FILLED
FILLED
,
FILLED_NS_ONLY
,
FILLED_EW_ONLY
public static final int FILLED
NOT_FILLED
,
FILLED_NS_ONLY
,
FILLED_EW_ONLY
public static final int FILLED_NS_ONLY
NOT_FILLED
,
FILLED
,
FILLED_EW_ONLY
public static final int FILLED_EW_ONLY
NOT_FILLED
,
FILLED
,
FILLED_NS_ONLY
public static final int DEFAULT_MAX_X
DEFAULT_MAX_Y
public static final int DEFAULT_MAX_Y
DEFAULT_MAX_X
public static final int DEFAULT_START_X
DEFAULT_START_Y
public static final int DEFAULT_START_Y
DEFAULT_START_X
public static final int FLOWING_NORTH
Driver.getNextOozeDirection()
,
FLOWING_EAST
,
FLOWING_SOUTH
,
FLOWING_WEST
public static final int FLOWING_EAST
Driver.getNextOozeDirection()
,
FLOWING_NORTH
,
FLOWING_SOUTH
,
FLOWING_WEST
public static final int FLOWING_SOUTH
Driver.getNextOozeDirection()
,
FLOWING_NORTH
,
FLOWING_EAST
,
FLOWING_WEST
public static final int FLOWING_WEST
Driver.getNextOozeDirection()
,
FLOWING_NORTH
,
FLOWING_EAST
,
FLOWING_SOUTH
public static final char DESTROY_ACTION
PLACE_ACTION
,
WAIT_ACTION
public static final char WAIT_ACTION
DESTROY_ACTION
,
PLACE_ACTION
public static final char PLACE_ACTION
DESTROY_ACTION
,
WAIT_ACTION
Constructor Detail |
public Constants()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |