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
ConstructorDescriptionResetBlockChatAction(Block block)
Create a new Action to reset the given Block -
Method Summary
Modifier and TypeMethodDescriptionvoid
fire(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: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
-