/// <summary> /// Create a new simple spell card with a specified spell type. /// </summary> /// <param name="cardId">The card id.</param> /// <param name="name">The card name.</param> /// <param name="text">The card text.</param> /// <param name="manaCost">The mana cost of the card.</param> /// <param name="cardSet">The set the card belongs to.</param> /// <param name="heroClass">The hero class the card belongs to.</param> /// <param name="rarity">The card rarity.</param> /// <param name="spellType">The type of the sepll.</param> /// <returns>A new simple card.</returns> internal static SimpleCard MakeSpellCard( string cardId, string name, string text, int manaCost, Enums.CardSet cardSet, Enums.HeroClass heroClass, Enums.CardRarity rarity, Enums.SpellType spellType) { SimpleCard make = new SimpleCard(cardId, name, text, manaCost, cardSet, Enums.CardType.Spell, heroClass, rarity); make.SpellType = spellType; return(make); }
/// <summary> /// Create a new empty spell base sheet that specifies the spell type. /// </summary> /// <param name="spellType"></param> internal SpellSheetBase(Enums.SpellType spellType) : base(Enums.CardType.Spell) { SpellType = spellType; }