v3256
This commit is contained in:
parent
bde23cb19f
commit
38abd2b6b6
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue