コード例 #1
0
 public Spell(string name, int cost, string cardText, SpellRarity rarity = SpellRarity.Spell)
 {
     this.rarity   = rarity;
     this.name     = name;
     this.cardText = cardText;
     this.Cost     = cost;
 }
コード例 #2
0
 public Spell()
 {
     this.rarity   = SpellRarity.Spell;
     this.name     = string.Empty;
     this.cardText = string.Empty;
 }