added cell for value and density

This commit is contained in:
Guillaume LE CHARTIER 2024-04-10 15:39:00 +02:00
parent 6e501bfb3f
commit 9e3d1163af
1 changed files with 6 additions and 0 deletions

View File

@ -15,4 +15,10 @@ public class Cell {
public int getDensity() { public int getDensity() {
return density; return density;
} }
public int setValue(int value) {
this.value = value;
}
public int setDensity(int density){
this.density = density;
}
} }