コード例 #1
0
 public void LoadScene(String sceneName)
 {
     currentScene = serialiser.LoadScene(sceneName);
     EngineContentManager.LoadSceneContent(currentScene, game.GraphicsDevice);
     currentScene.CreateNullBodys(world);
     currentScene.UpdateNullTextures();
 }
コード例 #2
0
 public void InitializeCurrentScene()
 {
     EngineContentManager.LoadSceneContent(currentScene, game.GraphicsDevice);
     Engine.GuiManager.ClearControls();
     Engine.Gameworld.World.Clear();
     currentScene.LoadContent();
 }