Exemplo n.º 1
0
        public SkillViewModel(SkillsViewModel owner, SkillEnum skill, bool proficient)
        {
            _owner     = owner;
            Skill      = skill;
            Proficient = proficient;
            Ranks      = 0;
            Attribute  = Skill.GetAttribute();

            owner.PropertyChanged += OwnerOnPropertyChanged;
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public SkillWithSubcategoryViewModel(SkillsViewModel owner, SkillEnum skill, bool proficient, string subcategory = "")
     : base(owner, skill, proficient)
 {
     Subcategory = subcategory;
 }