public SkillViewModel(SkillsViewModel owner, SkillEnum skill, bool proficient) { _owner = owner; Skill = skill; Proficient = proficient; Ranks = 0; Attribute = Skill.GetAttribute(); owner.PropertyChanged += OwnerOnPropertyChanged; }
public CharacterViewModel() { Character = new Character(); RaceVM = new RaceViewModel(Character); AbilitiesVM = new AbilitiesViewModel(Character); ClassesVM = new ClassesViewModel(this); SkillsVM = new SkillsViewModel(Character); FeatsVM = new FeatsViewModel(this); LanguagesVM = new LanguagesViewModel(Character); }
public SkillWithSubcategoryViewModel(SkillsViewModel owner, SkillEnum skill, bool proficient, string subcategory = "") : base(owner, skill, proficient) { Subcategory = subcategory; }