Class QuestNotActiveCondition
java.lang.Object
games.stendhal.server.entity.npc.condition.QuestNotActiveCondition
- All Implemented Interfaces:
ChatCondition
,PreTransitionCondition
Is this quest either unknown, completed or rejected?
-
Constructor Summary
ConstructorDescriptionQuestNotActiveCondition(String questname)
Creates a new QuestNotActiveCondition. -
Method Summary
-
Constructor Details
-
QuestNotActiveCondition
Creates a new QuestNotActiveCondition.- Parameters:
questname
- name of quest slot
-
-
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 saidentity
- the NPC doing the transition- Returns:
- true, if the transition is possible, false otherwise
-
toString
-
hashCode
public int hashCode() -
equals
-