switch back to Sneak as the default game

This commit is contained in:
Colin McMillen 2020-11-16 14:43:21 -05:00
parent 0dbc6bdd8c
commit 39ac88b60a

View File

@ -64,11 +64,11 @@ namespace SemiColinGames {
private void LoadLevel() { private void LoadLevel() {
world?.Dispose(); 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 TreeWorld();
scene?.Dispose(); scene?.Dispose();
// scene = new SneakScene(GraphicsDevice, ((SneakWorld) world).Camera); scene = new SneakScene(GraphicsDevice, ((SneakWorld) world).Camera);
scene = new TreeScene(GraphicsDevice); // scene = new TreeScene(GraphicsDevice);
GC.Collect(); GC.Collect();
GC.WaitForPendingFinalizers(); GC.WaitForPendingFinalizers();