예제 #1
0
 // Default constructor
 public Card(PokerOddsCalculator.Suit suit, PokerOddsCalculator.Rank rank)
 {
     _suit = suit;
     _rank = rank;
 }
예제 #2
0
 // Constructor for calculations in Straight()
 public Card(PokerOddsCalculator.Rank rank, bool drawn)
 {
     _rank  = rank;
     _drawn = drawn;
 }
예제 #3
0
 // Card constructor for calculations in StraightFlush() and RoyalFlush()
 public Card(PokerOddsCalculator.Suit suit, PokerOddsCalculator.Rank rank, bool drawn)
 {
     _suit  = suit;
     _rank  = rank;
     _drawn = drawn;
 }