This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package sudoku;
|
||||
|
||||
public class Cell {
|
||||
public abstract class Cell {
|
||||
|
||||
private static int NOSYMBOLE = -1;
|
||||
private int symboleIndex;
|
||||
private Block block = null;
|
||||
protected static int NOSYMBOLE = -1;
|
||||
protected int symboleIndex;
|
||||
protected Block block = null;
|
||||
|
||||
public Cell(int symboleIndex) {
|
||||
this.symboleIndex = symboleIndex;
|
||||
@@ -21,14 +21,6 @@ public class Cell {
|
||||
return symboleIndex;
|
||||
}
|
||||
|
||||
public void setSymboleIndex(int symboleIndex) {
|
||||
this.symboleIndex = symboleIndex;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
setSymboleIndex(NOSYMBOLE);
|
||||
}
|
||||
|
||||
public Block getBlock() {
|
||||
return this.block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user