private void parse_feat(XElement feat, string feat_name)
 {
     PlayerFeat new_feat = new PlayerFeat();
     IEnumerable<XElement> specifics = feat.Descendants("specific");
     new_feat.name = feat_name;
     foreach (XElement specific in specifics)
     {
         if (specific.FirstAttribute.Value.ToString() == "Short Description")
         {
             new_feat.description = specific.Value;
         }
     }
     charData.player_feats.Add(new_feat);
 }
        private void parse_feat(XElement feat, string feat_name)
        {
            PlayerFeat             new_feat  = new PlayerFeat();
            IEnumerable <XElement> specifics = feat.Descendants("specific");

            new_feat.name = feat_name;
            foreach (XElement specific in specifics)
            {
                if (specific.FirstAttribute.Value.ToString() == "Short Description")
                {
                    new_feat.description = specific.Value;
                }
            }
            charData.player_feats.Add(new_feat);
        }
        private void parse_racial_trait(XElement racial_trait, string trait_name)
        {
            PlayerFeat             new_feat  = new PlayerFeat();
            IEnumerable <XElement> specifics = racial_trait.Descendants("specific");

            new_feat.name = trait_name;
            foreach (XElement specific in specifics)
            {
                specific.GetType();
                if (specific.FirstAttribute.Value.ToString() == "Short Description")
                {
                    new_feat.description = specific.Value;
                }
            }
            charData.racial_trait.Add(new_feat);
        }
 private void parse_racial_trait(XElement racial_trait, string trait_name)
 {
     PlayerFeat new_feat = new PlayerFeat();
     IEnumerable<XElement> specifics = racial_trait.Descendants("specific");
     new_feat.name = trait_name;
     foreach (XElement specific in specifics)
     {
         specific.GetType();
         if (specific.FirstAttribute.Value.ToString() == "Short Description")
         {
             new_feat.description = specific.Value;
         }
     }
     charData.racial_trait.Add(new_feat);
 }