Exemplo n.º 1
0
 void ExecuteMove()
 {
     for (int x = 0; x < boardGame.Width; x++)
     {
         for (int y = 0; y < boardGame.Height; y++)
         {
             if (!boardGame.IsTileDestroyed(x, y))
             {
                 MoveTileAnimation(boardGame.GetTileFormCoord(x, y).gameObject, x, y);
             }
         }
     }
 }