Interface Targeting

All Known Implementing Classes:
PathfinderDefendVillage, PathfinderHurtByTarget, PathfinderMeleeAttack, PathfinderNearestAttackableTarget, PathfinderNearestAttackableTargetRaider, PathfinderNearestHealableRaider, PathfinderOwnerHurtByTarget, PathfinderOwnerHurtTarget, PathfinderWildTarget, PathfinderZombieAttack, TargetPathfinder

public interface Targeting
Represents a target of a Pathfinder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the entity must see the target.
    void
    setSee(boolean see)
    Sets whether the entity must see the target.
  • Method Details

    • mustSee

      boolean mustSee()
      Whether the entity must see the target.
      Returns:
      true if entity must see, else false
    • setSee

      void setSee(boolean see)
      Sets whether the entity must see the target.
      Parameters:
      see - true if entity must see, else false