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