public void RenderLevel(LevelConfig level) { for (int i = 0; i < rowLimit; i++) { for (int j = 0; j < columnLimit; j++) { board[i, j].SetCell(level.GetCellByPosition(rowRendering + i, columnRendering + j)); } } }
public CellKind GetCellByPosition(int newX, int newY) { return(currentLevel.GetCellByPosition(newX, newY)); }