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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate()creats a new AfkTimeoutervoidonTurnReached(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:TurnListenerThis method is called when the turn number is reached.- Specified by:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- current turn number
-
toString
-