Removed density from Cell
This commit is contained in:
parent
ab6949e5bb
commit
214eaffeee
|
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue