Example #1
0
 public CardData(CardCosplay coslay, CardType type, int number )
 {
     this.coslay = coslay;
     this.type = type;
     this.number = number;
     this.id = (int)(this.type) * Const.CARD_TYPE_BIT + number;
     this.pos = 0;
 }
Example #2
0
 public CardData(CardCosplay coslay, CardType type, int number)
 {
     this.coslay = coslay;
     this.type   = type;
     this.number = number;
     this.id     = (int)(this.type) * Const.CARD_TYPE_BIT + number;
     this.pos    = 0;
 }
Example #3
0
    private CardType type; //卡牌花色

    #endregion Fields

    #region Constructors

    public CardData()
    {
        this.coslay = CardCosplay.None;
        this.type = CardType.None;
        this.number = 0;
        this.id = 0;
        this.pos = 0;
    }
Example #4
0
 private int pos;            //站位
 public CardData()
 {
     this.coslay = CardCosplay.None;
     this.type   = CardType.None;
     this.number = 0;
     this.id     = 0;
     this.pos    = 0;
 }