Adding tcc command to AxiosCommandConsole to toggle the ability to control

the camera using the arrow keys
Adding the ability to disable commands in XNACC from AxiosCommandConsole
This commit is contained in:
Nathan Adams
2012-06-03 16:58:30 -05:00
parent 8e7771ef63
commit c06ea52478
4 changed files with 25 additions and 0 deletions

View File

@@ -207,6 +207,12 @@ namespace Axios.Engine
}
#endif
camera = new Camera(ScreenManager.GraphicsDevice.Viewport.Width, ScreenManager.GraphicsDevice.Viewport.Height);
#if DEBUG
EnableCameraControl = true;
#else
EnableCameraControl = false;
#endif
}
public override void Draw(GameTime gameTime)