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