Package games.stendhal.server.script
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 Summary
ModifierConstructorDescriptionprotected
PlayerPositionListener(Player admin)
creates a new PlayerPositionListener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onTurnReached(int currentTurn)
This method is called when the turn number is reached.
-
Constructor Details
-
PlayerPositionListener
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 interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-