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 Summary
Fields inherited from class mekhq.campaign.storyArc.StoryPoint
storyOutcomes -
Constructor Summary
Constructors -
Method Summary
Modifier 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.StoryPoint
complete, generateInstanceFromXML, getCampaign, getId, getName, getNextStoryPoint, getObjective, getStoryArc, isActive, proceedToNextStoryPoint, setId, setStoryArc, writeToXmlBegin, writeToXmlEnd
-
Constructor Details
-
CheckStringVariableStoryPoint
public CheckStringVariableStoryPoint()
-
-
Method Details
-
getTitle
- Specified by:
getTitlein classStoryPoint
-
getResult
Description 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 classStoryPoint- Returns:
- A String specifying the result
-
start
public 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 classStoryPoint
-
writeToXml
- Specified by:
writeToXmlin classStoryPoint
-
loadFieldsFromXmlNode
protected void loadFieldsFromXmlNode(Node wn, Campaign c, megamek.Version version) throws ParseException - Specified by:
loadFieldsFromXmlNodein classStoryPoint- Throws:
ParseException
-