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()); } }
public Discardpile(Stockpile stockpile) { this.stockpile = stockpile; top = stockpile.TakeCard(); }