Game Development Reference
In-Depth Information
Selecting the action Touch Up Inside
GameController.m .
GameController.m (IBAction tasks)
- (IBAction)continueGameClicked:(id)sender {
[UIView beginAnimations:nil context:@"flipTransitionToBack"];
[UIView setAnimationDuration:1.2];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight
forView:self.view cache:YES];
[welcomeView removeFromSuperview];
UIInterfaceOrientation interfaceOrientation=[self interfaceOrientation];
[self showPlayView:interfaceOrientation];
[coinsController continueGame:previousGame];
[UIView commitAnimations];
isPlayingGame = YES;
}
- (IBAction)newGameClicked:(id)sender {
[UIView beginAnimations:nil context:@"flipTransitionToBack"];
[UIView setAnimationDuration:1.2];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight
forView:self.view cache:YES];
 
Search WWH ::




Custom Search