Class LoadSignFromHallOfFameAction
java.lang.Object
games.stendhal.server.entity.npc.action.LoadSignFromHallOfFameAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
@Dev(category=IGNORE)
public class LoadSignFromHallOfFameAction
extends Object
implements ChatAction
Displays text from the hall of fame on a sign.
- Author:
- hendrik
-
Constructor Summary
ConstructorsConstructorDescriptionLoadSignFromHallOfFameAction(Sign sign, String introduction, String fametype, int max, boolean ascending) creates a new LoadSignFromHallOfFame -
Method Summary
-
Constructor Details
-
LoadSignFromHallOfFameAction
public LoadSignFromHallOfFameAction(Sign sign, String introduction, String fametype, int max, boolean ascending) creates a new LoadSignFromHallOfFame- Parameters:
sign- the sign to modifyintroduction- introduction for the signfametype- type of famemax- maximum number of returned charactersascending- sort ascending or descending
-
-
Method Details
-
fire
Description copied from interface:PostTransitionActiondoes some action after a transition.- Specified by:
firein interfaceChatAction- Specified by:
firein interfacePostTransitionAction- Parameters:
player- player who caused the transitionsentence- text he/she saidnpc- the NPC doing the transition
-
setSign
sets the sign to be updated- Parameters:
sign- a Sign ornull
-
hashCode
public int hashCode() -
equals
-