equal
deleted
inserted
replaced
186 #pragma mark user interaction |
186 #pragma mark user interaction |
187 -(void) buttonPressed:(id) sender { |
187 -(void) buttonPressed:(id) sender { |
188 UIButton *theButton = (UIButton *)sender; |
188 UIButton *theButton = (UIButton *)sender; |
189 HW_setWeapon(theButton.tag); |
189 HW_setWeapon(theButton.tag); |
190 playSound(@"clickSound"); |
190 playSound(@"clickSound"); |
191 [self disappear]; |
191 if (IS_DUALHEAD() == NO) |
|
192 [self disappear]; |
192 } |
193 } |
193 |
194 |
194 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { |
195 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { |
195 /* |
196 /* |
196 NSSet *allTouches = [event allTouches]; |
197 NSSet *allTouches = [event allTouches]; |