private void LoadWorldScene() { SceneStorage sceneLoader = new SceneStorage(); this.world = GameWorld.Create(sceneLoader.Load(), rand); this.scene = world.Scene; }
private void LoadScene() { selectionContainer.Unselect(); var storage = new SceneStorage(); this.scene = storage.Load(); if (scene != null) { scene.PhysicsWorld.ContactManager.ContactFilter = (a, b) => false; } ingameRenderer.Scene = scene; }