Example #1
0
 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));
         }
     }
 }
Example #2
0
 public CellKind GetCellByPosition(int newX, int newY)
 {
     return(currentLevel.GetCellByPosition(newX, newY));
 }