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