axiosengine 

axiosengine Commit Details


Date:2012-05-15 22:03:44 (12 years 5 months ago)
Author:Natalie Adams
Branch:master
Commit:b698503c7561363dc3007f84c8fc6da8ad3f373f
Parents: d5d0f4a9cf0940ea0cc9cd4a67fd58f54bb78b12
Message:Removing old debugging code

Changes:

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

Branches

Number of commits:
Page rendered in 0.06173s using 14 queries.