Class CheckStringVariableStoryPoint
java.lang.Object
mekhq.campaign.storyArc.StoryPoint
mekhq.campaign.storyArc.storypoint.CheckStringVariableStoryPoint
This StoryPoint checks the value of a stored string variable from the
 
StoryArc. It returns the result of that value.- 
Field SummaryFields inherited from class mekhq.campaign.storyArc.StoryPointstoryOutcomes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringReturns a string specifying the result from this StoryPoint.getTitle()protected voidloadFieldsFromXmlNode(Node wn, Campaign c, megamek.Version version) voidstart()Do whatever needs to be done to start this story point.voidwriteToXml(PrintWriter pw1, int indent) Methods inherited from class mekhq.campaign.storyArc.StoryPointcomplete, generateInstanceFromXML, getCampaign, getId, getName, getNextStoryPoint, getObjective, getStoryArc, isActive, proceedToNextStoryPoint, setId, setStoryArc, writeToXmlBegin, writeToXmlEnd
- 
Constructor Details- 
CheckStringVariableStoryPointpublic CheckStringVariableStoryPoint()
 
- 
- 
Method Details- 
getTitle- Specified by:
- getTitlein class- StoryPoint
 
- 
getResultDescription copied from class:StoryPointReturns 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:
- getResultin class- StoryPoint
- Returns:
- A String specifying the result
 
- 
startpublic void start()Description copied from class:StoryPointDo whatever needs to be done to start this story point. Specific story point types may need to override this- Overrides:
- startin class- StoryPoint
 
- 
writeToXml- Specified by:
- writeToXmlin class- StoryPoint
 
- 
loadFieldsFromXmlNodeprotected void loadFieldsFromXmlNode(Node wn, Campaign c, megamek.Version version) throws ParseException - Specified by:
- loadFieldsFromXmlNodein class- StoryPoint
- Throws:
- ParseException
 
 
-