Class NPCSetDirection
java.lang.Object
games.stendhal.server.entity.npc.action.NPCSetDirection
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
@Dev(category=LOCATION,
label="NPC")
public final class NPCSetDirection
extends Object
implements ChatAction
sets the direction of an NPC
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NPCSetDirection
sets the direction of an NPC- Parameters:
direction
- Direction into which the NPC should look
-
-
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
-
toString
-
hashCode
public int hashCode() -
equals
-