/**
* The purpose of this page is to display a placeholder in multiplayer until the settings from the server have been received.
* This is not technically necessary, but only performed to avoid confusion or irritation when showing the clients first the
* default settings and then switching to the server settings quickly thereafter.
*/
SetupWindowPages.LoadingPage = class
{
constructor(setupWindow)
{
setupWindow.controls.gameSettingsController.registerLoadingChangeHandler((loading) => this.onLoadingChange(loading));
}
onLoadingChange(loading)
{
Engine.GetGUIObjectByName("loadingPage").hidden = !loading;
}
};