Class PlayerPositionMonitoring.PlayerPositionListener

java.lang.Object
games.stendhal.server.script.PlayerPositionMonitoring.PlayerPositionListener
All Implemented Interfaces:
TurnListener
Enclosing class:
PlayerPositionMonitoring

protected static class PlayerPositionMonitoring.PlayerPositionListener extends Object implements TurnListener
Listener for turn events.
  • Constructor Details

    • PlayerPositionListener

      protected PlayerPositionListener(Player admin)
      creates a new PlayerPositionListener.
      Parameters:
      admin - the admin to notify
  • Method Details

    • onTurnReached

      public void onTurnReached(int currentTurn)
      Description copied from interface: TurnListener
      This method is called when the turn number is reached.
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - current turn number