AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2012-05-15 22:03:00 (12 years 7 months ago)
Author:Natalie Adams
Branch:default
Commit:615b02202bfe
Parents: f901c6d962c8
Message:Removing old debugging code

Changes:
Maxios/ScreenSystem/InputState.cs (3 diffs)

File differences

axios/ScreenSystem/InputState.cs
270270
271271
272272
273
273
274274
275275
276276
......
339339
340340
341341
342
343
342
343
344344
345345
346346
347347
348
349
348
349
350350
351351
352352
......
377377
378378
379379
380
381
380
381
382382
383383
384384
/// </summary>
public void Update(GameTime gameTime)
{
PlayerIndex p;
//PlayerIndex p;
_lastMouseState = _currentMouseState;
if (_handleVirtualStick)
{
_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)
{
}
#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());
}

Archive Download the corresponding diff file

Page rendered in 0.43558s using 14 queries.