This commit is contained in:
@@ -31,7 +31,12 @@ public class Sudoku {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
Cell cell = getCell(x, y);
|
||||||
|
if (cell instanceof MutableCell mCell) {
|
||||||
|
mCell.setSymbolIndex(value);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Cell getCell(int x, int y) {
|
public Cell getCell(int x, int y) {
|
||||||
|
|||||||
Reference in New Issue
Block a user