back to SneakScene as default
This commit is contained in:
parent
a01c4a1d51
commit
fb0fee59ad
@ -64,16 +64,16 @@ 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();
|
||||||
// world = new ShmupWorld();
|
// world = new ShmupWorld();
|
||||||
world = new SpiderWorld();
|
// world = new SpiderWorld();
|
||||||
|
|
||||||
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);
|
||||||
// scene = new ShmupScene(GraphicsDevice, ((ShmupWorld) world).Bounds.Size);
|
// 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.Collect();
|
||||||
GC.WaitForPendingFinalizers();
|
GC.WaitForPendingFinalizers();
|
||||||
|
Loading…
Reference in New Issue
Block a user