Class WaitStoryPoint

java.lang.Object
mekhq.campaign.storyarc.StoryPoint
mekhq.campaign.storyarc.storypoint.WaitStoryPoint

public class WaitStoryPoint extends StoryPoint
A StoryPoint that waits until a certain number of days pass before completing.
  • Constructor Details

    • WaitStoryPoint

      public WaitStoryPoint()
  • Method Details

    • getTitle

      public String getTitle()
      Specified by:
      getTitle in class StoryPoint
    • getResult

      protected String getResult()
      Description copied from class: StoryPoint
      Returns a string specifying the result from this StoryPoint. This can be used to identify different possible results, when multiple results are possible. If different results are not possible, an empty string can be returned.
      Specified by:
      getResult in class StoryPoint
      Returns:
      A String specifying the result
    • getObjective

      public String getObjective()
      Description copied from class: StoryPoint
      Returns a string to be used in the "Objectives" panel so players know what they should be doing next.
      Overrides:
      getObjective in class StoryPoint
      Returns:
      a String indicating what to show in the objective screen.
    • start

      public void start()
      Description copied from class: StoryPoint
      Do whatever needs to be done to start this story point. Specific story point types may need to override this
      Overrides:
      start in class StoryPoint
    • getDate

      public LocalDate getDate()
    • writeToXml

      public void writeToXml(PrintWriter pw1, int indent)
      Specified by:
      writeToXml in class StoryPoint
    • loadFieldsFromXmlNode

      protected void loadFieldsFromXmlNode(Node wn, Campaign c, megamek.Version version) throws ParseException
      Specified by:
      loadFieldsFromXmlNode in class StoryPoint
      Throws:
      ParseException