A little java doc
import java.util.concurrent.Future;
import java.util.stream.Collectors;
+/**
+ * This screen loads up all the modules, local and remote. The modules
+ * are displayed in different colours according to their state of selection.
+ * For downloading remote modules list a FutureTask is used. The modules can also be filtered and the choice
+ * of filtering is saved in the config.
+ */
public class AdvancedGameSetupScreen extends CoreScreenLayer {
public static final ResourceUrn ASSET_URI = new ResourceUrn("engine:advancedGameSetupScreen");
private ModuleManager moduleManager;
@In
private Config config;
-
- private SelectModulesConfig selectModulesConfig;
@In
private WorldGeneratorManager worldGenManager;
@In
private Future<Void> remoteModuleRegistryUpdater;
private boolean needsUpdate = true;
private ResettableUIText moduleSearch;
+ private SelectModulesConfig selectModulesConfig;
@Override
public void onOpened() {
