Removed density from Cell

This commit is contained in:
Guillaume LE CHARTIER 2024-04-29 16:32:07 +02:00
parent ab6949e5bb
commit 214eaffeee
1 changed files with 4 additions and 9 deletions

View File

@ -2,27 +2,22 @@ package backend;
public class Cell { public class Cell {
private int value; private int value;
private int density;
public Cell(int value, int density) {
public Cell(int value) {
this.value = value; this.value = value;
this.density = density;
} }
public int getValue() { public int getValue() {
return value; return value;
} }
public int getDensity() {
return density;
}
public void setValue(int value) { public void setValue(int value) {
this.value = value; this.value = value;
} }
public void setDensity(int density){
this.density = density;
}
} }