Class CodedMessageFromFinnFarmer.TriggerMightbeACodedMessageCondition
java.lang.Object
games.stendhal.server.maps.quests.CodedMessageFromFinnFarmer.TriggerMightbeACodedMessageCondition
- All Implemented Interfaces:
ChatCondition
,PreTransitionCondition
- Enclosing class:
- CodedMessageFromFinnFarmer
public class CodedMessageFromFinnFarmer.TriggerMightbeACodedMessageCondition
extends Object
implements ChatCondition
does the sentence look like a possible coded message?
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TriggerMightbeACodedMessageCondition
public TriggerMightbeACodedMessageCondition()
-
-
Method Details
-
fire
Description copied from interface:PreTransitionCondition
can the transition be done?- Specified by:
fire
in interfaceChatCondition
- Specified by:
fire
in interfacePreTransitionCondition
- Parameters:
player
- player who caused the transitionsentence
- text he/she saidnpc
- the NPC doing the transition- Returns:
- true, if the transition is possible, false otherwise
-
equals
-
hashCode
public int hashCode() -
toString
-