Ejemplo n.º 1
0
 public SpellCardData(SpellCardData _spellCardData)
     : base(_spellCardData.Id, _spellCardData.Name, _spellCardData.Description, eCardType.SPELL)
 {
     this.SpellType = _spellCardData.SpellType;
 }
Ejemplo n.º 2
0
 public Spell(ContentManager _content, string _cardId)
     : base(_content, ID.CARD, (SpriteID)(Enum.Parse(typeof(SpriteID), "C" + _cardId)), eCardType.SPELL)
 {
     this.Original = new SpellCardData((SpellCardData)CardProvider.GetInstance().GetCardById("C" + _cardId));
 }
Ejemplo n.º 3
0
 public SpellCardData(SpellCardData _spellCardData)
     : base(_spellCardData.Id, _spellCardData.Name, _spellCardData.Description, eCardType.SPELL)
 {
     this.SpellType = _spellCardData.SpellType;
 }
Ejemplo n.º 4
0
 public Spell(ContentManager _content, SpriteID _spriteId)
     : base(_content, ID.CARD, _spriteId, eCardType.SPELL)
 {
     this.Original = new SpellCardData((SpellCardData)CardProvider.GetInstance().GetCardById(_spriteId.ToString()));
 }