Class WizardSupport.SavedGameLoader
java.lang.Object
java.lang.Thread
VASSAL.build.module.WizardSupport.SavedGameLoader
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
WizardSupport.TutorialLoader
- Enclosing class:
WizardSupport
Loads a saved game in the background. Add a branch to the wizard if the loaded game has unfinished
GameSetupStep
s. Otherwise, enable the finish button.- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionSavedGameLoader
(org.netbeans.spi.wizard.WizardController controller, Map<String, Object> settings, InputStream in, String wizardKey) SavedGameLoader
(org.netbeans.spi.wizard.WizardController controller, Map<String, Object> settings, InputStream in, String wizardKey, boolean freshGame) SavedGameLoader
(org.netbeans.spi.wizard.WizardController controller, Map<String, Object> settings, InputStream in, String wizardKey, File file) SavedGameLoader
(org.netbeans.spi.wizard.WizardController controller, Map<String, Object> settings, InputStream in, String wizardKey, File file, boolean freshGame) -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
SavedGameLoader
public SavedGameLoader(org.netbeans.spi.wizard.WizardController controller, Map<String, Object> settings, InputStream in, String wizardKey) -
SavedGameLoader
public SavedGameLoader(org.netbeans.spi.wizard.WizardController controller, Map<String, Object> settings, InputStream in, String wizardKey, boolean freshGame) -
SavedGameLoader
-
SavedGameLoader
-
-
Method Details
-
run
-
loadSavedGame
- Throws:
IOException
-