Interface SourceIncome


public interface SourceIncome
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getIncomeEarned(SkillsUser user, SourceValues sourceValues, Skill skill, double finalXp)
    Gets the money income earned from gaining the XP source.
  • Method Details

    • getIncomeEarned

      double getIncomeEarned(SkillsUser user, SourceValues sourceValues, Skill skill, double finalXp)
      Gets the money income earned from gaining the XP source.
      Parameters:
      user - the user gaining XP
      sourceValues - the source value data
      skill - the skill the user is gaining XP in
      finalXp - the final XP gained by the user after multipliers
      Returns:
      the income earned