Package mekhq.gui.dialog
Class CompleteMissionGuidePreferences
java.lang.Object
mekhq.gui.dialog.CompleteMissionGuidePreferences
The
CompleteMissionDialog's tutorial settings: whether the player has seen its guide, and whether the guide
opens every time the dialog does.
They are stored per player in MekHQ's preferences file (mmconf/mhq.preferences), under this class's node,
so they follow the MekHQ install rather than a campaign. Deleting this class's entry from that file (while MekHQ is
closed) shows the guide again.
- Since:
- 0.51.01
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetGuideAlwaysOpen(boolean alwaysOpen) voidsetGuideSeen(boolean seen)
-
Method Details
-
getInstance
- Returns:
- the settings, stored in MekHQ's preferences file
-
isGuideSeen
public boolean isGuideSeen()- Returns:
trueonce the player has seen the guide
-
setGuideSeen
public void setGuideSeen(boolean seen) -
isGuideAlwaysOpen
public boolean isGuideAlwaysOpen()- Returns:
trueif the guide opens every time the dialog does, rather than only the first time
-
setGuideAlwaysOpen
public void setGuideAlwaysOpen(boolean alwaysOpen)
-