Ajout Grille + Swing UI Grille Sudoku
This commit is contained in:
21
Cell.java
Normal file
21
Cell.java
Normal file
@@ -0,0 +1,21 @@
|
||||
public class Cell {
|
||||
private int value;
|
||||
|
||||
public Cell() {
|
||||
this.value = 0;
|
||||
}
|
||||
|
||||
// Constructeur prenant une valeur comme argument
|
||||
public Cell(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user