/// <summary> /// Adds a new Scene fluently. /// </summary> /// <param name="scene">The Scene.</param> /// <returns>The specified scene.</returns> public Scene AddSceneFluently(Scene scene) { scene.Initialize(); scene.LoadContent(SGL.Components.Get <ContentManager>()); _scenes.Add(scene); return(scene); }
/// <summary> /// Adds a new Scene. /// </summary> /// <param name="scene">The Scene.</param> public void AddScene(Scene scene) { scene.Initialize(); scene.LoadContent(SGL.Components.Get <ContentManager>()); _scenes.Add(scene); }