Interface ITPPQuest

All Superinterfaces:
ITPPQuestConstants
All Known Implementing Classes:
AwaitingPhase, InactivePhase, InvasionPhase, OutgoingPhase, TPPQuest

public interface ITPPQuest extends ITPPQuestConstants
  • Method Details

    • phaseToNextPhase

      void phaseToNextPhase(ITPPQuest nextPhase, List<String> comments)
      Function will change phase to next phase.
      Parameters:
      nextPhase -
      comments -
    • phaseToDefaultPhase

      void phaseToDefaultPhase(List<String> comments)
      function will reset quest state to default phase (INACTIVE).
      Parameters:
      comments -
    • getSwitchingToNextPhaseMessage

      String getSwitchingToNextPhaseMessage()
      function return shout message when quest going to next phase
      Returns:
      next phase message
    • getSwitchingToDefPhaseMessage

      String getSwitchingToDefPhaseMessage()
      function return shout message when quest going to default phase
      Returns:
      default phase message
    • getMinTimeOut

      int getMinTimeOut()
      return minimal timeout period for quest phase
      Returns:
      minimum timeout
    • getMaxTimeOut

      int getMaxTimeOut()
      return maximal timeout period for quest phase
      Returns:
      maximum timeout
    • getPhase

      Get the current phase.
      Returns:
      quest phase
    • prepare

      void prepare()
      function will perform necessary actions at phase start