Class AfkTimeouter

java.lang.Object
games.stendhal.server.entity.player.AfkTimeouter
All Implemented Interfaces:
TurnListener

public class AfkTimeouter extends Object implements TurnListener
timesout a player who is AFK for a long time
Author:
hendrik
  • 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 interface TurnListener
      Parameters:
      currentTurn - current turn number
    • toString

      public String toString()
      Overrides:
      toString in class Object