Exemple #1
0
 public Player(Stockpile stockpile, Discardpile discardpile)
 {
     this.stockpile   = stockpile;
     this.discardpile = discardpile;
     deck             = new List <Card>();
     for (int i = 0; i < 5; i++)
     {
         deck.Add(stockpile.TakeCard());
     }
 }
Exemple #2
0
 public Discardpile(Stockpile stockpile)
 {
     this.stockpile = stockpile;
     top            = stockpile.TakeCard();
 }