Beispiel #1
0
 public static bool AddElement(this SpellList spellList, Spell spell = null)
 {
     if (spell == null)
     {
         spell = new Spell();
     }
     if (spell.OpenEditWindow())
     {
         spellList.AddElementSilent(spell);
         return(true);
     }
     return(false);
 }