Example #1
0
 /// <summary>
 /// Removes a spell from the spellbook.
 /// </summary>
 /// <param name="spell">The spell passed to the method.</param>
 public void RemoveSpell(Spell spell)
 {
     _spells.Remove (spell);
 }
Example #2
0
 /// <summary>
 /// Adds a spell into the spellbook.
 /// </summary>
 /// <param name="spell">The spell passed to the method.</param>
 public void AddSpell(Spell spell)
 {
     _spells.Add (spell);
 }