Example #1
0
 public Card(GameConst.Suit cardSuit, GameConst.CardNumber cardNumber, GameConst.CardWeight cardWeight)
 {
     this.cardSuit   = cardSuit;
     this.cardNumber = cardNumber;
     this.cardWeight = cardWeight;
 }
Example #2
0
 public static GameConst.CardWeight GetWeightByNumber(GameConst.CardNumber cardNumber)
 {
     GameConst.CardWeight weight = (GameConst.CardWeight)GameConst.CardWeightList[(int)cardNumber - 1];
     return(weight);
 }