Esempio n. 1
0
 public SCardDescription(int defaultPower, SClan clan, SRarity rarity, params STag[] tags)
 {
     _defaultPower = defaultPower;
     _clan         = clan;
     _rarity       = rarity;
     _tags         = tags.ToList();
 }
Esempio n. 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;
 }
Esempio n. 3
0
 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();
 }