Class CreateSlotAction
java.lang.Object
games.stendhal.server.entity.npc.action.CreateSlotAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
creates a slot
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfire(Player player, Sentence sentence, EventRaiser npc) does some action after a transition.
-
Constructor Details
-
CreateSlotAction
creates a slot- Parameters:
slotNames- list of slots to create
-
-
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
-