A C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- getCell(int, int) - Method in class hw3.Pearls
-
Returns the cell at the given row and column.
- getChar(State) - Static method in class api.StringUtil
-
Returns the basic character for a state.
- getCol() - Method in class api.PortalInfo
-
Returns the column for the portal.
- getColumnOffset() - Method in class api.Cell
-
Returns the column offset for this cell.
- getColumns() - Method in class hw3.Pearls
-
Returns the number of columns in the grid.
- getCurrentColumn() - Method in class hw3.Pearls
-
Returns the column index for the player's current location.
- getCurrentRow() - Method in class hw3.Pearls
-
Returns the row index for the player's current location.
- getId() - Method in class api.PortalInfo
-
Returns the character identifying the portal.
- getIndex() - Method in class api.MoveRecord
-
Returns the index in this MoveRecord.
- getMovedTo() - Method in class api.MoveRecord
-
Returns the (possibly) new index for this MoveRecord's cell.
- getMoves() - Method in class hw3.Pearls
-
Returns the current number of moves made in this game.
- getNextColumn(int, int, Direction, boolean) - Method in class hw3.Pearls
-
Helper method returns the next column for a state sequence in the given direction, possibly wrapping around.
- getNextRow(int, int, Direction, boolean) - Method in class hw3.Pearls
-
Helper method returns the next row for a state sequence in the given direction, possibly wrapping around.
- getRow() - Method in class api.PortalInfo
-
Returns the row for the portal.
- getRowOffset() - Method in class api.Cell
-
Returns the row offset for this cell.
- getRows() - Method in class hw3.Pearls
-
Returns the number of rows in the grid.
- getScore() - Method in class hw3.Pearls
-
Returns the current score (number of pearls disappeared) for this game.
- getState() - Method in class api.Cell
-
Returns the state for this cell.
- getState() - Method in class api.MoveRecord
-
Returns the state in this MoveRecord.
- getStateSequence(Direction) - Method in class hw3.Pearls
-
Finds a valid state sequence in the given direction starting with the player's current position and ending with a boundary cell as defined by the method
State.isBoundary
. - getValue(char) - Static method in class api.StringUtil
-
Returns the State corresponding to the given character, if possible.
All Classes All Packages