Skip to content

Instantly share code, notes, and snippets.

/Wha?

Created December 14, 2012 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save anonymous/4287462 to your computer and use it in GitHub Desktop.
Save anonymous/4287462 to your computer and use it in GitHub Desktop.
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
for (UITouch* t in touches) {
CGPoint touchLocation;
touchLocation = [t locationInView:self];
CGPoint point = CGPointMake(touchLocation.x, touchLocation.y);
[self updateGameStatusWithPoint:point];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment