Ejemplo n.º 1
0
 public UnitCardData(string Name, string Type, string Attack, string Health, string Victory, string CanBeShort, string CanBeLong)
 {
     this.mName = Name;
     this.mType = CardLoading.GetCardTypeFromTypeString(Type);
     int.TryParse(Attack, out this.Attack);
     int.TryParse(Health, out this.Health);
     int.TryParse(Victory, out this.Victory);
     if (CanBeShort == "true")
     {
         this.CanBeShort = true;
     }
     if (CanBeLong == "true")
     {
         this.CanBeLong = true;
     }
 }
Ejemplo n.º 2
0
 public EffectCardData(string Name, string Type, EffectData ED)
 {
     this.mName = Name;
     this.mType = CardLoading.GetCardTypeFromTypeString(Type);
     EData      = ED;
 }