Class CreateSlotAction
java.lang.Object
games.stendhal.server.entity.npc.action.CreateSlotAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
creates a slot
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fire(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:PostTransitionAction
does some action after a transition.- Specified by:
fire
in interfaceChatAction
- Specified by:
fire
in interfacePostTransitionAction
- Parameters:
player
- player who caused the transitionsentence
- text he/she saidnpc
- the NPC doing the transition
-