Class SignFromHallOfFameLoader

java.lang.Object
games.stendhal.server.entity.mapstuff.sign.SignFromHallOfFameLoader
All Implemented Interfaces:
TurnListener

public class SignFromHallOfFameLoader extends Object implements TurnListener
loads the content of a sign from the hall of fame.
Author:
hendrik
  • 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 modify
      introduction - introduction for the sign
      fametype - type of fame
      max - maximum number of returned characters
      ascending - sort ascending or descending
      lineBreaks - should each player be put on a line by itself?
  • Method Details

    • 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