public void SetCell(int x, int y, DungeonCell.TileType tileType) { DungeonCell cell = GetCell(x, y); if (cell != null) { cell.mTileType = tileType; mGrid.SetGridCell(x, y, cell); } }