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
Constructors -
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: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
-
toString
-
hashCode
public int hashCode() -
equals
-