Class FoxEntity.SitAndLookGoal

Enclosing class:
FoxEntity

class FoxEntity.SitAndLookGoal extends FoxEntity.BaseGoal
  • Field Details

    • relX

      private double relX
    • relZ

      private double relZ
    • lookTime

      private int lookTime
    • looksRemaining

      private int looksRemaining
  • Constructor Details

    • SitAndLookGoal

      public SitAndLookGoal()
  • 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()