Interface XpRequirements


public interface XpRequirements
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the default amount of xp required to reach the specified level
    int
    getXpRequired(Skill skill, int level)
    Gets the amount of xp required to reach the specified level.
  • Method Details

    • getXpRequired

      int getXpRequired(Skill skill, int level)
      Gets the amount of xp required to reach the specified level. Skill specific xp requirements are used if they exist.
      Parameters:
      skill - Skill to get xp required for
      level - Level to get xp required for
      Returns:
      The amount of xp required
    • getDefaultXpRequired

      int getDefaultXpRequired(int level)
      Gets the default amount of xp required to reach the specified level
      Parameters:
      level - Level to get xp required for
      Returns:
      The amount of xp required