Class ResetBlockChatAction
java.lang.Object
games.stendhal.server.entity.npc.action.ResetBlockChatAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
Resets a block to its initial position
- Author:
- madmetzger
-
Constructor Summary
ConstructorsConstructorDescriptionResetBlockChatAction(Block block)Create a new Action to reset the given Block -
Method Summary
Modifier and TypeMethodDescriptionvoidfire(Player player, Sentence sentence, EventRaiser npc)does some action after a transition.
-
Constructor Details
-
ResetBlockChatAction
Create a new Action to reset the given Block- Parameters:
block- The Block to reset
-
-
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
-