This commit is contained in:
maxim 2024-05-24 14:08:17 +02:00
parent bde23cb19f
commit 38abd2b6b6
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
//Represents a single cell in the grid
package backend;
public class Cell {
@ -7,10 +9,12 @@ public class Cell {
this.value = value;
}
//Return the current value of the cell
public int getValue() {
return value;
}
//Set the new value of the cell
public void setValue(int value) {
this.value = value;
}