switch back to Sneak as the default game
This commit is contained in:
parent
0dbc6bdd8c
commit
39ac88b60a
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user