Class GuaranteedDelayedPlayerTextSender
java.lang.Object
games.stendhal.server.core.events.DelayedPlayerTextSender
games.stendhal.server.core.events.GuaranteedDelayedPlayerTextSender
- All Implemented Interfaces:
TurnListener
Sends a private message to a player after a short delay, and if they weren't online, uses postman
- Author:
- kymara
-
Field Summary
Fields inherited from class games.stendhal.server.core.events.DelayedPlayerTextSender
message, player, type
-
Constructor Summary
ConstructorDescriptionGuaranteedDelayedPlayerTextSender(String source, Player player, String message, int seconds)
Creates a new GuaranteedDelayedPlayerTextSender. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onTurnReached(int currentTurn)
This method is called when the turn number is reached.
-
Constructor Details
-
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 interfaceTurnListener
- Overrides:
onTurnReached
in classDelayedPlayerTextSender
- Parameters:
currentTurn
- current turn number
-