Class InactivePhase
java.lang.Object
games.stendhal.server.maps.quests.piedpiper.TPPQuest
games.stendhal.server.maps.quests.piedpiper.InactivePhase
- All Implemented Interfaces:
ITPPQuest
,ITPPQuestConstants
-
Nested Class Summary
Nested classes/interfaces inherited from interface games.stendhal.server.maps.quests.piedpiper.ITPPQuestConstants
ITPPQuestConstants.TPP_Phase
-
Field Summary
Fields inherited from interface games.stendhal.server.maps.quests.piedpiper.ITPPQuestConstants
AWAITING, AWAITING_TIME_MAX, AWAITING_TIME_MIN, CHILDRENS, CHILDRENS_TIME_MAX, CHILDRENS_TIME_MIN, FINAL, FINAL_TIME_MAX, FINAL_TIME_MIN, INACTIVE, INACTIVE_TIME_MAX, INACTIVE_TIME_MIN, INVASION, INVASION_TIME_MAX, INVASION_TIME_MIN, OUTGOING, OUTGOING_TIME_MAX, OUTGOING_TIME_MIN, QUEST_SLOT, RAT_REWARDS, RAT_TYPES, RAT_ZONES, SHOUT_TIME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
return maximal timeout period for quest phaseint
return minimal timeout period for quest phasegetPhase()
Get the current phase.void
phaseToDefaultPhase(List<String> comments)
function will reset quest state to default phase (INACTIVE).void
prepare()
function will perform necessary actions at phase startMethods inherited from class games.stendhal.server.maps.quests.piedpiper.TPPQuest
changeShouts, getSwitchingToDefPhaseMessage, getSwitchingToNextPhaseMessage, phaseToNextPhase, shoutMessage, startShouts, stopShouts
-
Constructor Details
-
InactivePhase
constructor- Parameters:
timings
-
-
-
Method Details
-
getMinTimeOut
public int getMinTimeOut()Description copied from interface:ITPPQuest
return minimal timeout period for quest phase- Specified by:
getMinTimeOut
in interfaceITPPQuest
- Overrides:
getMinTimeOut
in classTPPQuest
- Returns:
- minimum timeout
-
getMaxTimeOut
public int getMaxTimeOut()Description copied from interface:ITPPQuest
return maximal timeout period for quest phase- Specified by:
getMaxTimeOut
in interfaceITPPQuest
- Overrides:
getMaxTimeOut
in classTPPQuest
- Returns:
- maximum timeout
-
phaseToDefaultPhase
Description copied from interface:ITPPQuest
function will reset quest state to default phase (INACTIVE).- Specified by:
phaseToDefaultPhase
in interfaceITPPQuest
- Overrides:
phaseToDefaultPhase
in classTPPQuest
-
prepare
public void prepare()Description copied from interface:ITPPQuest
function will perform necessary actions at phase start -
getPhase
Description copied from interface:ITPPQuest
Get the current phase.
-