Move JumpyGame -> SneakGame & fix references

GitOrigin-RevId: ec99138000848e4cdcf371b53ce0dd2fe5ebed70
This commit is contained in:
Colin McMillen 2020-01-09 12:38:52 -05:00
parent 096f577e61
commit d75a469acc
3 changed files with 5 additions and 5 deletions

View File

@ -15,8 +15,8 @@
<Compile Include="$(MSBuildThisFileDirectory)History.cs" /> <Compile Include="$(MSBuildThisFileDirectory)History.cs" />
<Compile Include="$(MSBuildThisFileDirectory)IDisplay.cs" /> <Compile Include="$(MSBuildThisFileDirectory)IDisplay.cs" />
<Compile Include="$(MSBuildThisFileDirectory)KeyboardInput.cs" /> <Compile Include="$(MSBuildThisFileDirectory)KeyboardInput.cs" />
<Compile Include="$(MSBuildThisFileDirectory)JumpyGame.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Player.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Player.cs" />
<Compile Include="$(MSBuildThisFileDirectory)SneakGame.cs" />
<Compile Include="$(MSBuildThisFileDirectory)World.cs" /> <Compile Include="$(MSBuildThisFileDirectory)World.cs" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -14,7 +14,7 @@
<Compile Include="FpsCounter.cs" /> <Compile Include="FpsCounter.cs" />
<Compile Include="History.cs" /> <Compile Include="History.cs" />
<Compile Include="IDisplay.cs" /> <Compile Include="IDisplay.cs" />
<Compile Include="JumpyGame.cs" /> <Compile Include="SneakGame.cs" />
<Compile Include="KeyboardInput.cs" /> <Compile Include="KeyboardInput.cs" />
<Compile Include="Player.cs" /> <Compile Include="Player.cs" />
<Compile Include="World.cs" /> <Compile Include="World.cs" />

View File

@ -6,7 +6,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace SemiColinGames { namespace SemiColinGames {
public class JumpyGame : Game { public class SneakGame : Game {
GraphicsDeviceManager graphics; GraphicsDeviceManager graphics;
// TODO: use a History<RenderTarget2D> but implement functions that let us re-use the // TODO: use a History<RenderTarget2D> but implement functions that let us re-use the
@ -31,7 +31,7 @@ namespace SemiColinGames {
World world; World world;
Camera camera = new Camera(); Camera camera = new Camera();
public JumpyGame() { public SneakGame() {
graphics = new GraphicsDeviceManager(this); graphics = new GraphicsDeviceManager(this);
IsMouseVisible = true; IsMouseVisible = true;
Content.RootDirectory = "Content"; Content.RootDirectory = "Content";