Added analog sticks to onscreen controls

This commit is contained in:
Diego Waxemberg
2014-12-29 00:11:14 -05:00
parent d6d30f021d
commit 2cb1acc611
11 changed files with 157 additions and 14 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
}
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
[onScreenControls handleTouchMovedEvent:event];
if ([[event allTouches] count] == 1) {
UITouch *touch = [[event allTouches] anyObject];
CGPoint currentLocation = [touch locationInView:self];