Class BuddyCleanup
java.lang.Object
games.stendhal.server.actions.buddy.BuddyCleanup
- All Implemented Interfaces:
TurnListener
Clean up the buddy list from obsolete and duplicate entries
using case insensitive matching.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
cleans up the budy list of a playervoid
onTurnReached(int currentTurn)
This method is called when the turn number is reached.
-
Constructor Details
-
BuddyCleanup
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 interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-