Class Phantom.PhantomSweepAttackGoal

Enclosing class:
Phantom

class Phantom.PhantomSweepAttackGoal extends Phantom.PhantomMoveTargetGoal
  • Field Details

    • CAT_SEARCH_TICK_DELAY

      private static final int CAT_SEARCH_TICK_DELAY
      See Also:
    • isScaredOfCat

      private boolean isScaredOfCat
    • catSearchTick

      private int catSearchTick
  • Constructor Details

    • PhantomSweepAttackGoal

      PhantomSweepAttackGoal()
  • 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