Class AfkTimeouter
java.lang.Object
games.stendhal.server.entity.player.AfkTimeouter
- All Implemented Interfaces:
TurnListener
timesout a player who is AFK for a long time
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
create()
creats a new AfkTimeoutervoid
onTurnReached(int currentTurn)
This method is called when the turn number is reached.toString()
-
Constructor Details
-
AfkTimeouter
public AfkTimeouter()
-
-
Method Details
-
create
public static void create()creats a new AfkTimeouter -
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
-
toString
-