Package de.sfuhrm.sudoku
Interface Riddle
-
- All Superinterfaces:
GameMatrix
public interface Riddle extends GameMatrix
A riddle with free / writable fields.- Author:
- Stephan Fuhrmann
-
-
Field Summary
-
Fields inherited from interface de.sfuhrm.sudoku.GameMatrix
BLOCK_COUNT, BLOCK_SIZE, MAXIMUM_VALUE, MINIMUM_VALUE, SIZE, TOTAL_FIELDS, UNSET
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetWritable(int row, int column)Get whether a certain field is writable.voidsetWritable(int row, int column, boolean set)Set a certain field writable.-
Methods inherited from interface de.sfuhrm.sudoku.GameMatrix
canSet, clear, get, getArray, getSetCount, isValid, set, setAll
-
-
-
-
Method Detail
-
getWritable
boolean getWritable(int row, int column)Get whether a certain field is writable.- Parameters:
row- the row of the cell to get the writability for.column- the column of the cell to get the writability for.- Returns:
trueif the cell is writable.
-
setWritable
void setWritable(int row, int column, boolean set)Set a certain field writable.- Parameters:
row- the row of the cell to set the writability for.column- the column of the cell to set the writability for.set- the value to set for the cell,truemeans writable.
-
-