Class AccessCheckingPortal.SendMessage

java.lang.Object
games.stendhal.server.entity.mapstuff.portal.AccessCheckingPortal.SendMessage
All Implemented Interfaces:
TurnListener
Enclosing class:
AccessCheckingPortal

protected static class AccessCheckingPortal.SendMessage extends Object implements TurnListener
A turn listener that sends a user message. Once sendPrivateText() is fixed (via a queue or something) to always work, this can go away.
  • Constructor Details

    • SendMessage

      public SendMessage(RPEntity user, String text)
      Create a message sending turn listener.
      Parameters:
      user - The user to send to.
      text - Message to send
  • Method Details

    • onTurnReached

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