Class SignFromHallOfFameLoader
java.lang.Object
games.stendhal.server.entity.mapstuff.sign.SignFromHallOfFameLoader
- All Implemented Interfaces:
TurnListener
loads the content of a sign from the hall of fame.
- Author:
- hendrik
-
Constructor Summary
ConstructorsConstructorDescriptionSignFromHallOfFameLoader(Sign sign, String introduction, String fametype, int max, boolean ascending, boolean lineBreaks) creates a new SignFromHallOfFameLoader -
Method Summary
Modifier and TypeMethodDescriptionvoidonTurnReached(int currentTurn) This method is called when the turn number is reached.
-
Constructor Details
-
SignFromHallOfFameLoader
public SignFromHallOfFameLoader(Sign sign, String introduction, String fametype, int max, boolean ascending, boolean lineBreaks) creates a new SignFromHallOfFameLoader- Parameters:
sign- the sign to modifyintroduction- introduction for the signfametype- type of famemax- maximum number of returned charactersascending- sort ascending or descendinglineBreaks- should each player be put on a line by itself?
-
-
Method Details
-
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
-