back to SneakScene as default

This commit is contained in:
Colin McMillen 2021-07-12 15:10:18 -04:00
parent a01c4a1d51
commit fb0fee59ad

View File

@ -64,16 +64,16 @@ namespace SemiColinGames {
private void LoadLevel() {
world?.Dispose();
// world = new SneakWorld(GraphicsDevice, Content.LoadString("levels/demo.json"));
world = new SneakWorld(GraphicsDevice, Content.LoadString("levels/demo.json"));
// world = new TreeWorld();
// world = new ShmupWorld();
world = new SpiderWorld();
// world = new SpiderWorld();
scene?.Dispose();
// scene = new SneakScene(GraphicsDevice, ((SneakWorld) world).Camera);
scene = new SneakScene(GraphicsDevice, ((SneakWorld) world).Camera);
// scene = new TreeScene(GraphicsDevice);
// scene = new ShmupScene(GraphicsDevice, ((ShmupWorld) world).Bounds.Size);
scene = new SpiderScene(GraphicsDevice, ((SpiderWorld) world).Bounds.Size);
// scene = new SpiderScene(GraphicsDevice, ((SpiderWorld) world).Bounds.Size);
GC.Collect();
GC.WaitForPendingFinalizers();