updated Cell class with getX getY and getVal methods
This commit is contained in:
parent
1581b96bb5
commit
d0fc3379dc
|
|
@ -2,10 +2,22 @@ package backend;
|
|||
|
||||
public class Cell {
|
||||
int x,y,val;
|
||||
private Simulator mySimu;
|
||||
|
||||
public Cell(int x, int y, int val) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.val = val;
|
||||
|
||||
}
|
||||
|
||||
public int getX() {
|
||||
return x;
|
||||
}
|
||||
public int getY() {
|
||||
return x;
|
||||
}
|
||||
public int getVal() {
|
||||
return val;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue