1.1 --- a/src/main/java/de/uapcore/sudoku/Field.java Tue Jul 28 14:05:04 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/sudoku/Field.java Tue Jul 28 14:27:14 2020 +0200 1.3 @@ -152,6 +152,17 @@ 1.4 } 1.5 1.6 /** 1.7 + * Checks the modified state of a specific cell. 1.8 + * 1.9 + * @param x horizontal position 1.10 + * @param y vertical position 1.11 + * @return the modified state 1.12 + */ 1.13 + public boolean isCellModified(int x, int y) { 1.14 + return cells[x][y].isModified(); 1.15 + } 1.16 + 1.17 + /** 1.18 * Sets the modified state of all cells. 1.19 * 1.20 * @param modified the modified state