equal
deleted
inserted
replaced
109 } |
109 } |
110 [pool release]; |
110 [pool release]; |
111 [NSThread exit]; |
111 [NSThread exit]; |
112 } |
112 } |
113 |
113 |
|
114 -(void) appear { |
|
115 [UIView beginAnimations:@"inserting main controller" context:NULL]; |
|
116 [UIView setAnimationDuration:1]; |
|
117 self.view.alpha = 1; |
|
118 [UIView commitAnimations]; |
|
119 } |
|
120 |
|
121 -(void) disappear { |
|
122 [UIView beginAnimations:@"removing main controller" context:NULL]; |
|
123 [UIView setAnimationDuration:1]; |
|
124 self.view.alpha = 0; |
|
125 [UIView commitAnimations]; |
|
126 } |
|
127 |
114 #pragma mark - |
128 #pragma mark - |
115 #pragma mark Action buttons |
129 #pragma mark Action buttons |
116 -(IBAction) startPlaying { |
130 -(IBAction) startPlaying { |
117 [[SDLUIKitDelegate sharedAppDelegate] startSDLgame]; |
131 [[SDLUIKitDelegate sharedAppDelegate] startSDLgame]; |
118 } |
132 } |