use of org.terasology.engine.rendering.nui.layers.mainMenu.advancedGameSetupScreen.DownloadPopupProgressListener in project Terasology by MovingBlocks.
the class ModuleDetailsScreen method downloadModules.
private void downloadModules(Iterable<Module> modulesToDownload) {
final WaitPopup<List<Module>> popup = getManager().pushScreen(WaitPopup.ASSET_URI, WaitPopup.class);
ModuleInstaller operation = moduleManager.getInstallManager().createInstaller(modulesToDownload, new DownloadPopupProgressListener(popup));
popup.startOperation(operation, true);
}
Aggregations