Fix Missing return statement
This commit is contained in:
parent
fb014ce5ac
commit
4074f49228
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ class Grid {
|
||||||
|
|
||||||
bool getCellState(int x, int y) {
|
bool getCellState(int x, int y) {
|
||||||
if (y < map.length && x < map[y].length) return map[y][x].state;
|
if (y < map.length && x < map[y].length) return map[y][x].state;
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<List<Cell>> _buildGrid(int w, int h) {
|
List<List<Cell>> _buildGrid(int w, int h) {
|
||||||
|
|
Loading…
Reference in a new issue