示例#1
0
 public SCardDescription(int defaultPower, SClan clan, SRarity rarity, params STag[] tags)
 {
     _defaultPower = defaultPower;
     _clan         = clan;
     _rarity       = rarity;
     _tags         = tags.ToList();
 }
示例#2
0
 public SCardView(SCardName name, List <STag> tags, SClan clan, SRarity rar, SLocationView location, SPowerView power, SStatusView status)
 {
     _name     = name;
     _tags     = tags;
     _clan     = clan;
     _rar      = rar;
     _location = location;
     _power    = power;
     _status   = status;
 }
示例#3
0
文件: SCard.cs 项目: P1nkL1on/Gwent3
 SCard(SCardName name, SClan clan, SRarity rarity, int defaultPower, params STag[] tags)
 {
     _player   = -1;
     _location = new SLocation();
     _rarity   = rarity;
     _clan     = clan;
     _id       = _ids++;
     _name     = name;
     _status   = new SStatus();
     _power    = new SPower(defaultPower);
     _tags     = tags.ToList();
     _triggers = new Dictionary <STType, STrigger>();
     _timer    = STimer.none();
 }