Class JailAction
java.lang.Object
games.stendhal.server.entity.npc.action.JailAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
Action for an NPC to jail a player
- Author:
- kymara
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JailAction
Creates a new JailAction.- Parameters:
minutes- sentence duration in minutesreason- reason for jailing player
-
-
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
-
toString
-
hashCode
public int hashCode() -
equals
-