summary refs log tree commit diff stats
path: root/Classes/GameOverScene.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-09-09 19:57:25 -0400
committerStarla Insigna <starla4444@gmail.com>2011-09-09 19:57:25 -0400
commitb090d12d637e5cfbf0ac6955fa6c8d401de657b5 (patch)
tree6992a95f48b5152be54ebfc409c2c9dcdd577a21 /Classes/GameOverScene.h
parent3cc8a6c48b6bf821ba8787850485de03b4d984e8 (diff)
downloadcartcollect-b090d12d637e5cfbf0ac6955fa6c8d401de657b5.tar.gz
cartcollect-b090d12d637e5cfbf0ac6955fa6c8d401de657b5.tar.bz2
cartcollect-b090d12d637e5cfbf0ac6955fa6c8d401de657b5.zip
Added play again button to game over screen
Closes #218
Diffstat (limited to 'Classes/GameOverScene.h')
-rwxr-xr-xClasses/GameOverScene.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Classes/GameOverScene.h b/Classes/GameOverScene.h index a91286e..f596211 100755 --- a/Classes/GameOverScene.h +++ b/Classes/GameOverScene.h
@@ -17,13 +17,15 @@
17 UISwitch* submitSwitch; 17 UISwitch* submitSwitch;
18 UIActivityIndicatorView* activityIndicator; 18 UIActivityIndicatorView* activityIndicator;
19 UIButton* backButton; 19 UIButton* backButton;
20 UIButton* playButton;
20 int score; 21 int score;
21 NSString* gameMode; 22 NSString* gameMode;
23 BOOL playAgain;
22} 24}
23 25
24+ (GameOverScene*)sceneWithScore:(int)score gameMode:(NSString*)gameMode; 26+ (GameOverScene*)sceneWithScore:(int)score gameMode:(NSString*)gameMode;
25- (id)initWithScore:(int)score gameMode:(NSString*)gameMode; 27- (id)initWithScore:(int)score gameMode:(NSString*)gameMode;
26- (void)newgame; 28- (void)newgame:(id)sender;
27- (void)submitScore; 29- (void)submitScore;
28- (void)exit; 30- (void)exit;
29 31