Browse Source

switch back to Sneak as the default game

main
Colin McMillen 3 years ago
parent
commit
39ac88b60a
  1. 8
      Shared/SneakGame.cs

8
Shared/SneakGame.cs

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

Loading…
Cancel
Save