// // GameLayer.h // Cart Collect // // Created by iD Student Account on 7/18/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import #import "cocos2d.h" #import "FallingObject.h" #import "Cherry.h" #import "Bottle.h" #import "OneUp.h" #import "Rock.h" #import "GameOverLayer.h" #import "ValuableObject.h" #import "CocosDenshion.h" #import "SimpleAudioEngine.h" #import "TutorialBubble.h" #import "MainMenuLayer.h" #define GAME_SCENE 436 #define GAME_LAYER 437 @interface GameLayer : CCLayer { NSMutableSet* objects; float accelX; CCLabelBMFont* scoreLabel; CCLabelBMFont* livesLabel; int score; int lives; float addSpeed; CCSprite* cartSprite; TutorialBubble* currentTutorial; CCLayerColor* shadedLayer; CCLayer* pauseLayer; } @property (nonatomic,retain) TutorialBubble* currentTutorial; + (CCScene*)scene; - (id)init; - (void)updateLabels; - (void)pause; - (void)unpause; - (void)mainmenu; - (void)endTutorial; @end