Interface Repeated
- All Known Implementing Classes:
PathfinderDolphinJump, PathfinderNearestAttackableTarget, PathfinderNearestAttackableTargetRaider, PathfinderNearestHealableRaider, PathfinderRandomStroll, PathfinderRandomStrollFlying, PathfinderRandomStrollInVillage, PathfinderRandomStrollLand, PathfinderRandomStrollToVillage, PathfinderRandomSwim, PathfinderRangedBowAttack, PathfinderWildTarget
public interface Repeated
Represents a Pathfinder that has a repeating interval, in ticks
-
Method Summary
Modifier and TypeMethodDescriptionintGets the repeating interval, in ticksvoidsetInterval(int interval) Sets the repeating interval, in ticks
-
Method Details
-
getInterval
int getInterval()Gets the repeating interval, in ticks- Returns:
- Interval
-
setInterval
Sets the repeating interval, in ticks- Parameters:
interval- Interval- Throws:
IllegalArgumentException- if interval is less than 0
-