public interface ExperienceHolderData extends DataManipulator<ExperienceHolderData,ImmutableExperienceHolderData>
Human
s.Modifier and Type | Method and Description |
---|---|
BoundedValue<Integer> |
experienceSinceLevel()
Gets the
BoundedValue for the amount of experience
gained since the beginning of the current level() . |
BoundedValue<Integer> |
getExperienceBetweenLevels()
Gets the
BoundedValue for the amount of experience
required between the current level() and the next level. |
BoundedValue<Integer> |
level()
Gets the
BoundedValue for the current "level" of
experience deserved according to the totalExperience() and
a function from implementation defining how much experience required
per level. |
BoundedValue<Integer> |
totalExperience()
Gets the total amount of experience stored.
|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
compareTo
toContainer
BoundedValue<Integer> experienceSinceLevel()
BoundedValue
for the amount of experience
gained since the beginning of the current level()
. Normally,
the higher the level, the more "experience" required to gain another
level.BoundedValue<Integer> getExperienceBetweenLevels()
BoundedValue
for the amount of experience
required between the current level()
and the next level.
This can be presumed to be the supposed "maximum" for the
experienceSinceLevel()
amount.BoundedValue<Integer> level()
BoundedValue
for the current "level" of
experience deserved according to the totalExperience()
and
a function from implementation defining how much experience required
per level.BoundedValue<Integer> totalExperience()