public interface ExperienceHolderData extends DataManipulator<ExperienceHolderData,ImmutableExperienceHolderData>
Human
s.Modifier and Type | Method and Description |
---|---|
MutableBoundedValue<Integer> |
experienceSinceLevel()
Gets the
MutableBoundedValue for the amount of experience
gained since the beginning of the current level() . |
ImmutableBoundedValue<Integer> |
getExperienceBetweenLevels()
Gets the
ImmutableBoundedValue for the amount of experience
required between the current level() and the next level. |
MutableBoundedValue<Integer> |
level()
Gets the
MutableBoundedValue for the current "level" of
experience deserved according to the totalExperience() and
a function from implementation defining how much experience required
per level. |
MutableBoundedValue<Integer> |
totalExperience()
Gets the total amount of experience stored.
|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
compareTo
toContainer
MutableBoundedValue<Integer> experienceSinceLevel()
MutableBoundedValue
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.ImmutableBoundedValue<Integer> getExperienceBetweenLevels()
ImmutableBoundedValue
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.MutableBoundedValue<Integer> level()
MutableBoundedValue
for the current "level" of
experience deserved according to the totalExperience()
and
a function from implementation defining how much experience required
per level.MutableBoundedValue<Integer> totalExperience()