Exemple #1
0
        /// <summary>
        /// Constructor that takes a single skill and transforms it into a skill set.
        /// </summary>
        /// <param name="skill">Single skill that defines the skill set</param>
        public SkillSet(SingleSkill skill)
        {
            _skills        = skill.ToArray();
            _skillsPerType = new Dictionary <string, SingleSkill>();

            _skillsPerType.Add(skill.Skill, skill);
        } // end of SkillSet
Exemple #2
0
        }     // end of SkillSet

        /// <summary>
        /// Empty skill set.
        /// </summary>
        public SkillSet()
        {
            _skills        = new SingleSkill[0];
            _skillsPerType = new Dictionary <string, SingleSkill>();
        } // end of SkillSet