Removing old debugging code

This commit is contained in:
Nathan Adams 2012-05-15 22:03:44 -05:00
parent d5d0f4a9cf
commit b698503c75

View File

@ -270,7 +270,7 @@ namespace GameStateManagement
/// </summary> /// </summary>
public void Update(GameTime gameTime) public void Update(GameTime gameTime)
{ {
PlayerIndex p; //PlayerIndex p;
_lastMouseState = _currentMouseState; _lastMouseState = _currentMouseState;
if (_handleVirtualStick) if (_handleVirtualStick)
{ {
@ -339,14 +339,14 @@ namespace GameStateManagement
_cursor.Y = _currentMouseState.Y; _cursor.Y = _currentMouseState.Y;
} }
if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) //if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p))
Console.WriteLine(_cursor.ToString()); // Console.WriteLine(_cursor.ToString());
_cursor.X = MathHelper.Clamp(_cursor.X, 0f, _viewport.Width); _cursor.X = MathHelper.Clamp(_cursor.X, 0f, _viewport.Width);
_cursor.Y = MathHelper.Clamp(_cursor.Y, 0f, _viewport.Height); _cursor.Y = MathHelper.Clamp(_cursor.Y, 0f, _viewport.Height);
if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) //if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p))
Console.WriteLine(_cursor.ToString()); // Console.WriteLine(_cursor.ToString());
if (_cursorIsValid && oldCursor != _cursor) if (_cursorIsValid && oldCursor != _cursor)
{ {
@ -377,8 +377,8 @@ namespace GameStateManagement
} }
#endif #endif
if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) //if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p))
Console.WriteLine(_viewport.ToString()); // Console.WriteLine(_viewport.ToString());
} }