//This function is to be used when we want to use a loadingscreen public static void Load(ScreenManager screenManager, bool loadingIsSlow, params GameScreen[] screensToLoad) { //Tell all screens to transition off foreach (GameScreen screen in screenManager.GetScreens()) screen.ExitScreen(); //Create the loadingscreen LoadingScreen loadingScreen = new LoadingScreen(screenManager, loadingIsSlow, screensToLoad); //and finally activate the loadingscreen screenManager.AddScreen(loadingScreen); }