cell
This commit is contained in:
parent
0113f48315
commit
5aee7b03e7
|
|
@ -1,21 +1,14 @@
|
||||||
package backend;
|
package backend;
|
||||||
|
|
||||||
public class Cell {
|
public class Cell {
|
||||||
int x,y,val;
|
int val;
|
||||||
private Simulator mySimu;
|
private Simulator mySimu;
|
||||||
|
|
||||||
public Cell(int x, int y, int val) {
|
public Cell(int val) {
|
||||||
this.x = x;
|
|
||||||
this.y = y;
|
|
||||||
this.val = val;
|
this.val = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getX() {
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
public int getY() {
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
public int getVal() {
|
public int getVal() {
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue