Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
E
G
H
I
L
M
P
R
S
T
W
G
getBoard()
- Method in class edu.rice.comp440.mine.
MineSim
Returns the current MineBoard board representation for this Minesweeper game.
getCount(int, int)
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns the number of mines surrounding the target cell.
getCount(Point)
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns the number of mines surrounding the target cell.
getEdge()
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns an immutable set containing Point objects representing the edge of the Minesweeper board.
getFringe()
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns an immutable set containing Point objects representing the fringe of the Minesweeper board.
getHeight()
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns the height of the Minesweeper board
getHeight()
- Method in class edu.rice.comp440.mine.
MineGUI
getLastMove()
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns the move that was last made on the board; returns null if no moves have been made
getMines()
- Method in interface edu.rice.comp440.mine.
MineBoard
Retunrs the total number of mines in the Minesweeper board
getMines()
- Method in class edu.rice.comp440.mine.
MineGUI
getMove(MineBoard)
- Method in class
SmartPlayer
getMove(MineBoard)
- Method in interface edu.rice.comp440.mine.
Player
This method will return a Point indicating the next move to make on the given MineBoard
getMove(MineBoard)
- Method in class edu.rice.comp440.mine.
RandomPlayer
getNeighbors(int, int)
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns an immutable set containing Point objects representing the neighbors of the target cell.
getNeighbors(Point)
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns an immutable set containing Point objects representing the neighbors of the target cell.
getOpenedCount()
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns the number of opened cells on the board; the return value will be in the range of 0 inclusive and
MineBoard.getWidth()
*
MineBoard.getHeight()
inclusive.
getWidth()
- Method in interface edu.rice.comp440.mine.
MineBoard
Returns the width of the Minesweeper board
getWidth()
- Method in class edu.rice.comp440.mine.
MineGUI
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
E
G
H
I
L
M
P
R
S
T
W