Class StoryOutcome

java.lang.Object
mekhq.campaign.storyArc.StoryOutcome

public class StoryOutcome extends Object
This class controls what happens when a story point is completed and a certain result is achieved. Basically, it tracks an alternate `nextStoryPointId` and a list of StoryTrigger objects that will replace the default
  • Method Details

    • getResult

      public String getResult()
    • getNextStoryPointId

      public UUID getNextStoryPointId()
    • getStoryTriggers

      public List<StoryTrigger> getStoryTriggers()
    • setStoryArc

      public void setStoryArc(StoryArc a)
      Set the StoryArc on all StoryTriggers here
      Parameters:
      a - a StoryArc
    • writeToXml

      public void writeToXml(PrintWriter pw1, int indent)
    • generateInstanceFromXML

      public static StoryOutcome generateInstanceFromXML(Node wn, Campaign c, megamek.Version v)