예제 #1
0
        public SkillViewModel(SkillsViewModel owner, SkillEnum skill, bool proficient)
        {
            _owner     = owner;
            Skill      = skill;
            Proficient = proficient;
            Ranks      = 0;
            Attribute  = Skill.GetAttribute();

            owner.PropertyChanged += OwnerOnPropertyChanged;
        }
예제 #2
0
 public SkillWithSubcategoryViewModel(SkillsViewModel owner, SkillEnum skill, bool proficient, string subcategory = "")
     : base(owner, skill, proficient)
 {
     Subcategory = subcategory;
 }