public void LoadScene(String sceneName) { currentScene = serialiser.LoadScene(sceneName); EngineContentManager.LoadSceneContent(currentScene, game.GraphicsDevice); currentScene.CreateNullBodys(world); currentScene.UpdateNullTextures(); }
public void InitializeCurrentScene() { EngineContentManager.LoadSceneContent(currentScene, game.GraphicsDevice); Engine.GuiManager.ClearControls(); Engine.Gameworld.World.Clear(); currentScene.LoadContent(); }