/// <summary> /// //Adds a screen to the top of the manager /// </summary> public void AddScreen( Screen screen ) { screen.ScreenManager = this; screen.Initialize(); // If we have a graphics device, tell the screen to load content. if ( ( graphicsDeviceService != null ) && ( graphicsDeviceService.GraphicsDevice != null ) ) { screen.LoadContent(); } Screens.Add( screen ); }