private void RebuildFeats() { _CurrentFeats.Clear(); foreach (string f in CurrentMonster.FeatsList) { ParsedFeat p = new ParsedFeat(f); _CurrentFeats.Add(p); } CurrentFeatsView.ReloadData(); }
private void AddClicked(Feat feat) { string name = feat.Name; if (feat.AltName != null && feat.AltName.Length > 0) { name = feat.AltName; } if (!CurrentMonster.FeatsList.Contains(name)) { CurrentMonster.AddFeat(name); _CurrentFeats.Add(new ParsedFeat(name)); CurrentFeatsView.ReloadData(); } }