Example #1
0
 public void TilesChanged(Tile[,] tiles)
 {
     Debug.Log("Displaying changed tiles.");
     for (int i = 0; i < BoardSize; i++)
     {
         for (int k = 0; k < BoardSize; k++)
         {
             if (tiles[i, k] != null)
             {
                 graphicsController.DisplayTile(tiles[i, k], i, k);
             }
         }
     }
 }