|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BoardDifficulties | |
|---|---|
| com.eriksilkensen.sudoku | |
| Uses of BoardDifficulties in com.eriksilkensen.sudoku |
|---|
| Methods in com.eriksilkensen.sudoku that return BoardDifficulties | |
|---|---|
BoardDifficulties |
Board.getDifficulty()
Returns this Board's difficulty |
BoardDifficulties |
SudokuModel.getDifficulty()
Returns the current difficulty level |
BoardDifficulties |
SudokuControl.getDifficulty()
Returns the current difficulty of the Model |
static BoardDifficulties |
BoardDifficulties.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BoardDifficulties[] |
BoardDifficulties.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in com.eriksilkensen.sudoku with parameters of type BoardDifficulties | |
|---|---|
void |
BestTimesHelper.addBestTime(BestTime b,
BoardDifficulties difficulty)
Adds a BestTime to the collection of best times |
Board |
WebBoardFactory.createBoard(BoardDifficulties difficulty)
createBoard() implementation which just delegates the actual creation to the private makeBoard() method If an Exception is encountered a stack trace is printed to standard output and then a blank, default Board is created and returned. |
Board |
BoardFactory.createBoard(BoardDifficulties difficulty)
|
Board |
InventoryBoardFactory.createBoard(BoardDifficulties difficulty)
Creates the Board |
Board |
TextFileBoardFactory.createBoard(BoardDifficulties difficulty)
Pops up a JOptionPane asking for the Board's text file, then creates a Board from it. |
Board |
GeneratingBoardFactory.createBoard(BoardDifficulties difficulty)
This method should not be overridden by subclassing Factories and so it is marked final. |
Board |
BoardInventory.get(BoardDifficulties difficulty)
Gets a random Board at the specified difficulty. |
java.util.ArrayList<BestTime> |
BestTimesHelper.getBestTimes(BoardDifficulties difficulty)
Returns the BestTimes for a given difficulty |
Board |
BoardInventoryHelper.getBoard(BoardDifficulties difficulty)
Returns a Board at the specified difficulty level |
int |
BoardStats.getStatCount(BoardDifficulties difficulty,
int individualSize)
Overloaded getStatCount returns size (number) of stats for a given difficulty level, assuming the caller supplies the number of possible Boards in each difficulty level |
void |
SudokuControl.newBoard(BoardDifficulties difficulty)
A View requests a new Board at the given difficulty, so the Model gets one and the Control starts it |
void |
SudokuModel.newGame(BoardDifficulties difficulty)
The first of three newGame() implementations. |
void |
BestTimesView.setBestTimes(BoardDifficulties difficulty,
java.util.ArrayList<BestTime> times)
'Sets' the times for the specified difficulty, using the given List of times |
void |
BoardStatsView.setBoardStats(BoardDifficulties difficulty)
Gets and sets the stats for the current difficulty level |
void |
Board.setDifficulty(BoardDifficulties difficulty)
Sets this Board's difficulty |
void |
SudokuModel.setDifficulty(BoardDifficulties difficulty)
Sets the current difficulty level |
| Constructors in com.eriksilkensen.sudoku with parameters of type BoardDifficulties | |
|---|---|
Board(Cell[][] cells,
BoardDifficulties difficulty)
Creates a Board with the supplied Cells and difficulty level |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||