From b698503c7561363dc3007f84c8fc6da8ad3f373f Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Tue, 15 May 2012 22:03:44 -0500 Subject: [PATCH] Removing old debugging code --- axios/ScreenSystem/InputState.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/axios/ScreenSystem/InputState.cs b/axios/ScreenSystem/InputState.cs index 06ab122..7fa2520 100644 --- a/axios/ScreenSystem/InputState.cs +++ b/axios/ScreenSystem/InputState.cs @@ -270,7 +270,7 @@ namespace GameStateManagement /// public void Update(GameTime gameTime) { - PlayerIndex p; + //PlayerIndex p; _lastMouseState = _currentMouseState; if (_handleVirtualStick) { @@ -339,14 +339,14 @@ namespace GameStateManagement _cursor.Y = _currentMouseState.Y; } - if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) - Console.WriteLine(_cursor.ToString()); + //if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) + // Console.WriteLine(_cursor.ToString()); _cursor.X = MathHelper.Clamp(_cursor.X, 0f, _viewport.Width); _cursor.Y = MathHelper.Clamp(_cursor.Y, 0f, _viewport.Height); - if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) - Console.WriteLine(_cursor.ToString()); + //if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) + // Console.WriteLine(_cursor.ToString()); if (_cursorIsValid && oldCursor != _cursor) { @@ -377,8 +377,8 @@ namespace GameStateManagement } #endif - if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) - Console.WriteLine(_viewport.ToString()); + //if (this.IsNewKeyPress(Keys.P, PlayerIndex.One, out p)) + // Console.WriteLine(_viewport.ToString()); }