diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-15 14:47:39 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-15 14:47:39 -0400 |
commit | c55c499656ed089df63b049979487e9af9d109d6 (patch) | |
tree | a07f86c4630ad35e10304c50c6ef562f56424c91 /Classes/GameOverScene.h | |
parent | 4457e0ce5099a81f8e6a366e353561b886725532 (diff) | |
download | cartcollect-c55c499656ed089df63b049979487e9af9d109d6.tar.gz cartcollect-c55c499656ed089df63b049979487e9af9d109d6.tar.bz2 cartcollect-c55c499656ed089df63b049979487e9af9d109d6.zip |
Fixed game over transition
Fixes #189
Diffstat (limited to 'Classes/GameOverScene.h')
-rwxr-xr-x | Classes/GameOverScene.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Classes/GameOverScene.h b/Classes/GameOverScene.h new file mode 100755 index 0000000..ef63aa7 --- /dev/null +++ b/Classes/GameOverScene.h | |||
@@ -0,0 +1,29 @@ | |||
1 | // | ||
2 | // GameOverLayer.h | ||
3 | // Cart Collect | ||
4 | // | ||
5 | // Created by iD Student Account on 7/19/11. | ||
6 | // Copyright 2011 __MyCompanyName__. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import <Foundation/Foundation.h> | ||
10 | #import "cocos2d.h" | ||
11 | |||
12 | @interface GameOverScene : CCScene <UITextFieldDelegate, UIAlertViewDelegate> { | ||
13 | CCLayer* theLayer; | ||
14 | UIView* movingLayer; | ||
15 | UILabel* scoreField; | ||
16 | UITextField* textField; | ||
17 | UISwitch* submitSwitch; | ||
18 | UIActivityIndicatorView* activityIndicator; | ||
19 | UIButton* backButton; | ||
20 | int score; | ||
21 | } | ||
22 | |||
23 | + (GameOverScene*)sceneWithScore:(int)score; | ||
24 | - (id)initWithScore:(int)score; | ||
25 | - (void)newgame; | ||
26 | - (void)submitScore; | ||
27 | - (void)exit; | ||
28 | |||
29 | @end | ||