equal
deleted
inserted
replaced
325 #pragma mark - |
325 #pragma mark - |
326 #pragma mark Custom touch event handling |
326 #pragma mark Custom touch event handling |
327 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { |
327 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { |
328 NSSet *allTouches = [event allTouches]; |
328 NSSet *allTouches = [event allTouches]; |
329 UITouch *first, *second; |
329 UITouch *first, *second; |
|
330 |
|
331 if (isGameRunning == NO) |
|
332 return; |
330 |
333 |
331 // hide in-game menu |
334 // hide in-game menu |
332 if (isPopoverVisible) |
335 if (isPopoverVisible) |
333 [self dismissPopover]; |
336 [self dismissPopover]; |
334 |
337 |