Class BuddyCleanup

java.lang.Object
games.stendhal.server.actions.buddy.BuddyCleanup
All Implemented Interfaces:
TurnListener

public class BuddyCleanup extends Object implements TurnListener
Clean up the buddy list from obsolete and duplicate entries using case insensitive matching.
  • Constructor Details

    • BuddyCleanup

      public BuddyCleanup(Player player)
      creates a BuddyCleanup
      Parameters:
      player - player object
  • Method Details

    • cleanup

      public void cleanup()
      cleans up the budy list of a player
    • 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