/// <summary>
 /// Configures the class members with instantions
 /// </summary>
 /// <param name="_characterHelper">Character helper.</param>
 void configureClassMembers(MidgardCharacterHelper _characterHelper)
 {
     mCharacterHelper   = _characterHelper;
     lernPlanFachWaffen = new LernPlanFachWaffen();
     globalVars         = Toolbox.Instance;
     lernPlan           = mCharacterHelper.GetLernplanForCharacter();
     lernPlanModifier   = new LernplanModify();
 }
    /// <summary>
    /// Gets the lernplan for character. Enthält Fachkenntnisse, Waffenfertigkeiten und Zauber
    /// </summary>
    /// <returns>The lernplan for character.</returns>
    /// <param name="listPlaene">List plaene.</param>
    /// <param name="shortName">Short name.</param>
    public Lernplan GetLernplanForCharacter()
    {
        Toolbox         globalVars = Toolbox.Instance;
        List <Lernplan> listPlaene = globalVars.MidgardLernplaene.listLernPlaene;
        string          shortName  = mCharacter.Archetyp.ToString();
        //Hole passenden Lernplan für Charakter
        Lernplan charLernplan = null;

        foreach (Lernplan lPlan in listPlaene)
        {
            if (lPlan.shortname == shortName)
            {
                charLernplan = lPlan;
            }
        }
        return(charLernplan);
    }
 public LernplanModify()
 {
     instance         = Toolbox.Instance;
     mCharacterHelper = instance.mCharacterHelper;
     lernPlan         = mCharacterHelper.GetLernplanForCharacter();
 }