updated Cell class with getX getY and getVal methods

This commit is contained in:
Raphaelsav 2024-04-10 16:33:03 +02:00
parent 1581b96bb5
commit d0fc3379dc
1 changed files with 13 additions and 1 deletions

View File

@ -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;
}
}