diff options
Diffstat (limited to 'Classes/GameOverLayer.h')
| -rwxr-xr-x | Classes/GameOverLayer.h | 32 |
1 files changed, 32 insertions, 0 deletions
| diff --git a/Classes/GameOverLayer.h b/Classes/GameOverLayer.h new file mode 100755 index 0000000..ea533ac --- /dev/null +++ b/Classes/GameOverLayer.h | |||
| @@ -0,0 +1,32 @@ | |||
| 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 | #import "Cart_CollectAppDelegate.h" | ||
| 12 | #import <sqlite3.h> | ||
| 13 | #import "cocoslive.h" | ||
| 14 | |||
| 15 | @class MainMenuLayer; | ||
| 16 | |||
| 17 | @interface GameOverLayer : CCLayer <UITextFieldDelegate, UIAlertViewDelegate> { | ||
| 18 | UILabel* scoreField; | ||
| 19 | UITextField* textField; | ||
| 20 | UISwitch* submitSwitch; | ||
| 21 | UIActivityIndicatorView* activityIndicator; | ||
| 22 | UIButton* backButton; | ||
| 23 | int score; | ||
| 24 | } | ||
| 25 | |||
| 26 | + (CCScene*)sceneWithScore:(int)score; | ||
| 27 | - (id)initWithScore:(int)score; | ||
| 28 | - (void)newgame; | ||
| 29 | - (void)submitScore; | ||
| 30 | - (void)exit; | ||
| 31 | |||
| 32 | @end | ||
