From: Charles Date: Mon, 19 Apr 2010 21:56:25 +0000 (+0000) Subject: insert missing semicolon X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fcarfire;a=commitdiff_plain;h=109c7d277adc8e347600922fea6a8d73d4c5f01c insert missing semicolon git-svn-id: https://bd85.net/svn/cs3505_group@117 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- diff --git a/CarFire/CarFire/CarFire/MovementManager.cs b/CarFire/CarFire/CarFire/MovementManager.cs index befeb4b..10f6ba2 100644 --- a/CarFire/CarFire/CarFire/MovementManager.cs +++ b/CarFire/CarFire/CarFire/MovementManager.cs @@ -117,7 +117,7 @@ namespace CarFire float passedTime = (float)timeSpan.TotalSeconds; bool requestMove = (moveLeft ^ moveRight) || (moveUp ^ moveDown); - if (!IsMoving && requestMove) + if (!mIsMoving && requestMove) { mTimeAccumulator = passedTime; @@ -127,7 +127,7 @@ namespace CarFire RecalculatePosition(mTimeAccumulator / mInverseSpeed); } - else if (IsMoving) + else if (mIsMoving) { mTimeAccumulator += passedTime; @@ -236,7 +236,7 @@ namespace CarFire Point mLastCoordinates; // Last position on the grid. float mInverseSpeed; // The time it takes to move from one cell to another. float mTimeAccumulator; // Amount of time passed since last move. - bool mIsMoving // Whether or not it is currently in the process of moving. + bool mIsMoving; // Whether or not it is currently in the process of moving. Direction mDirection; // The direction the object is facing. #endregion