Interface XpRequirements
public interface XpRequirements
-
Method Summary
Modifier and TypeMethodDescriptionint
getDefaultXpRequired
(int level) Gets the default amount of xp required to reach the specified levelint
getXpRequired
(Skill skill, int level) Gets the amount of xp required to reach the specified level.
-
Method Details
-
getXpRequired
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 forlevel
- 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
-