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
-
Method Summary
-
Constructor Details
-
ComplainAboutSentenceErrorAction
public ComplainAboutSentenceErrorAction()
-
-
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 saidraiser
- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-