Exemplo n.º 1
0
        public void Increase(SkillTemplate skill, int levels = 1)
        {
            if (skill == null)
            {
                throw new ArgumentNullException(nameof(skill), $"{nameof(skill)} is null.");
            }

            Increase(skill.Name, skill.Specialty, levels);
        }
Exemplo n.º 2
0
        public void Add(SkillTemplate skill, int minLevel = 0)
        {
            if (skill == null)
            {
                throw new ArgumentNullException(nameof(skill), $"{nameof(skill)} is null.");
            }

            Add(skill.Name, skill.Specialty, minLevel);
        }
Exemplo n.º 3
0
 public void Increase(SkillTemplate skill, int levels = 1)
 {
     Increase(skill.Name, skill.Specialty, levels);
 }
Exemplo n.º 4
0
 public void Add(SkillTemplate skill, int minLevel = 0)
 {
     Add(skill.Name, skill.Specialty, minLevel);
 }