Created
November 9, 2012 22:32
-
-
Save tomspilman/4048753 to your computer and use it in GitHub Desktop.
Previous location to fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (newTouch.Id == touch.Id) | |
{ | |
stateChanged |= touch.UpdateState(newTouch); | |
foundEvent = true; | |
events.RemoveAt(j); | |
break; | |
} | |
} | |
// If a new event was found then store it. | |
if (foundEvent) | |
state[i] = touch; | |
// Else if no event has come in then promote it to | |
// the moved state, but only when we're consuming state. | |
else if (consumeState) // FIX! | |
state[i] = touch.AsMovedState(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment