Package de.Keyle.MyPet.api.skill.skills
Interface Sprint
- All Superinterfaces:
Skill
Skill that enables the pet to sprint (move at increased speed) when its owner is
sprinting. Once unlocked, the pet automatically matches the owner's sprint state.
The skill is either unlocked or not, controlled by a single boolean
UpgradeComputer.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the upgrade computer controlling whether the Sprint skill is unlocked.Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getActive
UpgradeComputer<Boolean> getActive()Returns the upgrade computer controlling whether the Sprint skill is unlocked.- Returns:
- the upgrade computer for whether the Sprint skill is unlocked
-