Package de.sfuhrm.sudoku
Interface Riddle
- All Superinterfaces:
GameMatrix
A riddle with free / writable fields.
- Author:
- Stephan Fuhrmann
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetWritable(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, getSchema, getSetCount, isValid, set, setAll
-
Method Details
-
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.
-