java.lang.Object
games.stendhal.server.entity.creature.impl.idle.StandOnIdle
All Implemented Interfaces:
IdleBehaviour

public class StandOnIdle extends Object implements IdleBehaviour
  • Constructor Details

    • StandOnIdle

      public StandOnIdle()
  • Method Details

    • perform

      public void perform(Creature creature)
      Specified by:
      perform in interface IdleBehaviour
    • retreatUnderFire

      protected boolean retreatUnderFire(Creature creature)
      Run away if under ranged fire, and unable to attack back.
      Parameters:
      creature - The creature that should try to retreat.
      Returns:
      true if trying to escape, false if retreatin is not needed