Exemplo n.º 1
0
 public void Copy(Tableau other)
 {
     Clear();
     discardPiles.Copy(other.discardPiles);
     for (int column = 0; column < NumberOfPiles; column++)
     {
         upPiles[column].Copy(other.upPiles[column]);
     }
     for (int column = 0; column < NumberOfPiles; column++)
     {
         downPiles[column].Copy(other.downPiles[column]);
     }
     stockPile.Copy(other.stockPile);
     Refresh();
 }