// // GameOverLayer.h // Cart Collect // // Created by iD Student Account on 7/19/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import "cocos2d.h" @interface GameOverLayer : CCLayer <UITextFieldDelegate, UIAlertViewDelegate> { UILabel* scoreField; UITextField* textField; UISwitch* submitSwitch; UIActivityIndicatorView* activityIndicator; UIButton* backButton; int score; } + (CCScene*)sceneWithScore:(int)score; - (id)initWithScore:(int)score; - (void)newgame; - (void)submitScore; - (void)exit; @end