A B C D E F G H M N P S T V W

A

Action - class sg.edu.nus.comp.cs3243.pipedream.Action.
Action is the class that completely specifies what an agent does for a specific turn instance.
Action() - Constructor for class sg.edu.nus.comp.cs3243.pipedream.Action
Initializes the Action to have a WAIT_ACTION and x and y coordinates set to -1.
Action(char, int, int) - Constructor for class sg.edu.nus.comp.cs3243.pipedream.Action
Constructor that takes all three parameters of an Action as input.

B

BOTTOM_LEFT_ELBOW_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
An elbow joint piece 'z' One of the pieces that can appear on the queue
BOTTOM_RIGHT_ELBOW_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
An elbow joint piece 'c' One of the pieces that can appear on the queue

C

Constants - class sg.edu.nus.comp.cs3243.pipedream.Constants.
The Constants class holds all of the constants for all of the classes in the pipedream package
Constants() - Constructor for class sg.edu.nus.comp.cs3243.pipedream.Constants
 
CROSS_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
A cross piece '+'.

D

DEFAULT_MAX_X - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The default X size of the board, 7.
DEFAULT_MAX_Y - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The default Y size of the board, 7.
DEFAULT_START_X - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The default X coordinate of the start, 3.
DEFAULT_START_Y - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The default Y coordinate of the start, 3.
DESTROY_ACTION - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The DESTROY action.
Driver - class sg.edu.nus.comp.cs3243.pipedream.Driver.
Driver is the class that is used to create an instance of the game.
Driver() - Constructor for class sg.edu.nus.comp.cs3243.pipedream.Driver
constructor for the pipedream package game driver

E

EMPTY_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
An empty piece ' '

F

FILLED - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
Indicates that a piece is fully filled with ooze (e.g., cross pieces that are filled both NS and EW)
FILLED_EW_ONLY - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The fill status of a cross piece that has been filled only horizontally
FILLED_NS_ONLY - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The fill status of a cross piece that has been filled only vertically
FLOWING_EAST - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The value of getNextOozeDirection(), indicating that the flow is heading eastwards
FLOWING_NORTH - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The value of getNextOozeDirection(), indicating that the flow is heading northwards
FLOWING_SOUTH - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The value of getNextOozeDirection(), indicating that the flow is heading southwards
FLOWING_WEST - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The value of getNextOozeDirection(), indicating that the flow is heading westwards

G

getAction() - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
An accessor method to return an Action's type of action.
getBoard() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return a 2-d array of characters, giving the current state of the board
getEmail() - Method in class sg.edu.nus.comp.cs3243.pipedream.Player
Implement this method.
getFill(int, int) - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to check the fill status of the board piece at x,y
getIsEmpty(int, int) - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to check whether the board piece at x,y is empty.
getMatric() - Method in class sg.edu.nus.comp.cs3243.pipedream.Player
Implement this method.
getName() - Method in class sg.edu.nus.comp.cs3243.pipedream.Player
Implement this method.
getNextOozeDirection() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return the Y coordinate of the next spot that the ooze will move to
getNextOozeSpotX() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return the X coordinate of the next spot that the ooze will move to
getNextOozeSpotY() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return the Y coordinate of the next spot that the ooze will move to
getQueue() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return an array of characters, giving the queue of tiles to be placed
getScore() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return the agent's score
getTagLine() - Method in class sg.edu.nus.comp.cs3243.pipedream.Player
Implement this method.
getTile(int, int) - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to check the type of board piece at x,y
getTime() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return the number of time units elapsed since the start of the game
getTimeToNextOoze() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
An accessor function to return the time to the next move of the ooze.
getX() - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
An accessor method to get the x coordinate of the action.
getY() - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
An accessor method to get the Y coordinate of the action.

H

HORIZONTAL_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
A horizontal pipe piece '-' One of the pieces that can appear on the queue

M

MAX_NORMAL_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The total number of normal pipe pieces that can occur in the queue

N

NOT_FILLED - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
Indicates that a piece has not been filled.

P

PLACE_ACTION - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The PLACE action.
play(Driver) - Method in class sg.edu.nus.comp.cs3243.pipedream.Player
Implement this method.
Player - class sg.edu.nus.comp.cs3243.pipedream.Player.
Player is the abstract class which you'll need to extend for this assignment.
Player() - Constructor for class sg.edu.nus.comp.cs3243.pipedream.Player
 
printBoard() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
A method to print the board to stdout
printQueue() - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
A method to print the queue of pieces to stdout
processTurn(Action) - Method in class sg.edu.nus.comp.cs3243.pipedream.Driver
The method used to execute a turn on the board.

S

setAction(char) - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
A mutator method to set the type of action.
setX(int) - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
A mutator method to set the X coordinate of the action.
setY(int) - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
A mutator method to set the Y coordinate of the action.
START_TOP_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The start piece '\''

T

TOP_LEFT_ELBOW_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
An elbow joint piece 'q' One of the pieces that can appear on the queue
TOP_RIGHT_ELBOW_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
An elbow joint piece 'e' One of the pieces that can appear on the queue
toString() - Method in class sg.edu.nus.comp.cs3243.pipedream.Action
A method that creates a printable version of this Action.

V

VERTICAL_PIECE - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
A vertical piece '|' One of the pieces that can appear on the queue

W

WAIT_ACTION - Static variable in class sg.edu.nus.comp.cs3243.pipedream.Constants
The WAIT action.

A B C D E F G H M N P S T V W