Class ComplainAboutSentenceErrorAction
java.lang.Object
games.stendhal.server.entity.npc.action.ComplainAboutSentenceErrorAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
@Dev(category=CHAT,
label="Error")
public class ComplainAboutSentenceErrorAction
extends Object
implements ChatAction
Tells the player that the NPC did not understand the sentence;
use it in combination with SentenceHasErrorCondition.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ComplainAboutSentenceErrorAction
public ComplainAboutSentenceErrorAction()
-
-
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 saidraiser- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-