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; } }
public EffectCardData(string Name, string Type, EffectData ED) { this.mName = Name; this.mType = CardLoading.GetCardTypeFromTypeString(Type); EData = ED; }