Ejemplo n.º 1
0
 public PrimarySkill(int curLvl, Type.PrimarySkill _name)
 {
     currentLvl = curLvl;
     currentXp  = 0f;
     maxXp      = CalculateNextXp(currentLvl);
     name       = Util.MapPrimarySkillToSkillname(_name);
 }
Ejemplo n.º 2
0
    //----------------------- GETTERS || SETTERS -------------------------------//
    public int GetSkill(Type.PrimarySkill skill)
    {
        Skill.PrimarySkill s = primarySkills[skill];

        return(s.GetLevel());
    }