public Card Reply(Card askedFor) { Card myreply = null; foreach (var card in Hand) ; return myreply; }
private static string SerializeCommunity(Card[] community) { return String.Join(" ", community .Where(card => card != null) .Select(card => card.Serialize(true))); }
public void Add(Card freshCard) { Hand.Add(freshCard); }
public bool Equals(Card r) { return this.Rank == r.Rank && this.Suit == r.Suit; }
public void SetPocket(Card c1, Card c2) { this.pocket[0] = c1; this.pocket[1] = c2; }