Class AccessCheckingPortal.SendMessage
java.lang.Object
games.stendhal.server.entity.mapstuff.portal.AccessCheckingPortal.SendMessage
- All Implemented Interfaces:
TurnListener
- Enclosing class:
- AccessCheckingPortal
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 Summary
ConstructorsConstructorDescriptionSendMessage(RPEntity user, String text) Create a message sending turn listener. -
Method Summary
Modifier and TypeMethodDescriptionvoidonTurnReached(int currentTurn) This method is called when the turn number is reached.
-
Constructor Details
-
SendMessage
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:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- Current turn number.
-