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