add Spider* files to project and SneakGame
This commit is contained in:
parent
0b555af7a1
commit
1fd19f14dc
@ -10,6 +10,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Camera.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Camera.cs" />
|
||||||
|
<Compile Include="$(MSBuildThisFileDirectory)SpiderScene.cs" />
|
||||||
|
<Compile Include="$(MSBuildThisFileDirectory)SpiderWorld.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)ExtensionMethods.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)ExtensionMethods.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)FSM.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)FSM.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)IScene.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)IScene.cs" />
|
||||||
|
@ -66,12 +66,14 @@ namespace SemiColinGames {
|
|||||||
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();
|
||||||
|
|
||||||
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);
|
||||||
|
|
||||||
GC.Collect();
|
GC.Collect();
|
||||||
GC.WaitForPendingFinalizers();
|
GC.WaitForPendingFinalizers();
|
||||||
|
Loading…
Reference in New Issue
Block a user