Class StoreMessageAction
java.lang.Object
games.stendhal.server.entity.npc.action.StoreMessageAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
@Dev(category=CHAT,
label="Message")
public class StoreMessageAction
extends Object
implements ChatAction
Stores a message for delivery with postman
- Author:
- kymara
-
Constructor Summary
ConstructorsConstructorDescriptionStoreMessageAction(String npcName, String message) creates a new StoreMessageAction -
Method Summary
-
Constructor Details
-
StoreMessageAction
creates a new StoreMessageAction- Parameters:
npcName- who left the messagemessage- what the message is
-
-
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
-
hashCode
public int hashCode() -
equals
-