Class Fox.PerchAndSearchGoal

Enclosing class:
Fox

class Fox.PerchAndSearchGoal extends Fox.FoxBehaviorGoal
  • Field Details

    • relX

      private double relX
    • relZ

      private double relZ
    • lookTime

      private int lookTime
    • looksRemaining

      private int looksRemaining
  • Constructor Details

    • PerchAndSearchGoal

      public PerchAndSearchGoal()
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • canContinueToUse

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal
    • stop

      public void stop()
      Overrides:
      stop in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal
    • resetLook

      private void resetLook()