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 Type
    Method
    Description
    int
    Gets the repeating interval, in ticks
    void
    setInterval(int interval)
    Sets the repeating interval, in ticks
  • Method Details

    • getInterval

      int getInterval()
      Gets the repeating interval, in ticks
      Returns:
      Interval
    • setInterval

      void setInterval(int interval) throws IllegalArgumentException
      Sets the repeating interval, in ticks
      Parameters:
      interval - Interval
      Throws:
      IllegalArgumentException - if interval is less than 0