Class PlayerNextToCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.PlayerNextToCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

public class PlayerNextToCondition extends Object implements ChatCondition
Checks if the player is next to an entity. If an entity name is not supplied it will check if the player is next to the NPC checking the condition.
  • Constructor Details

    • PlayerNextToCondition

      public PlayerNextToCondition()
    • PlayerNextToCondition

      public PlayerNextToCondition(String name)
  • Method Details