private bool CanRemove() { if (IsSkillChecked) { return(PlayerSkills.Any()); } return(PlayerFeats.Any()); }
public override void Validate() { if (!PlayerSkills.Any()) { IsValid = false; Error = LanguageManager.GetResourceValue("CreationSkillsView", "ErrorSkills"); } else if (!PlayerFeats.Any()) { IsValid = false; Error = LanguageManager.GetResourceValue("CreationSkillsView", "ErrorFeats"); } else { IsValid = true; Error = ""; } RaiseEvents(); }