Fix Missing return statement

This commit is contained in:
Marty Oehme 2018-07-08 19:03:48 +02:00
parent fb014ce5ac
commit 4074f49228

View file

@ -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) {