diff options
Diffstat (limited to 'Classes/GameLayer.h')
| -rwxr-xr-x | Classes/GameLayer.h | 23 |
1 files changed, 2 insertions, 21 deletions
| diff --git a/Classes/GameLayer.h b/Classes/GameLayer.h index e72b551..128cbf2 100755 --- a/Classes/GameLayer.h +++ b/Classes/GameLayer.h | |||
| @@ -8,30 +8,13 @@ | |||
| 8 | 8 | ||
| 9 | #import <Foundation/Foundation.h> | 9 | #import <Foundation/Foundation.h> |
| 10 | #import "cocos2d.h" | 10 | #import "cocos2d.h" |
| 11 | #import "FallingObject.h" | ||
| 12 | #import "Cherry.h" | ||
| 13 | #import "Bottle.h" | ||
| 14 | #import "OneUp.h" | ||
| 15 | #import "Rock.h" | ||
| 16 | #import "GameOverLayer.h" | ||
| 17 | #import "ValuableObject.h" | ||
| 18 | #import "CocosDenshion.h" | ||
| 19 | #import "SimpleAudioEngine.h" | ||
| 20 | #import "TutorialBubble.h" | 11 | #import "TutorialBubble.h" |
| 21 | #import "MainMenuLayer.h" | 12 | #import "GameMode.h" |
| 22 | 13 | ||
| 23 | #define GAME_SCENE 436 | 14 | @interface GameLayer : GameMode { |
| 24 | #define GAME_LAYER 437 | ||
| 25 | |||
| 26 | @interface GameLayer : CCLayer { | ||
| 27 | NSMutableSet* objects; | ||
| 28 | float accelX; | ||
| 29 | CCLabelBMFont* scoreLabel; | 15 | CCLabelBMFont* scoreLabel; |
| 30 | CCLabelBMFont* livesLabel; | 16 | CCLabelBMFont* livesLabel; |
| 31 | int score; | ||
| 32 | int lives; | ||
| 33 | float addSpeed; | 17 | float addSpeed; |
| 34 | CCSprite* cartSprite; | ||
| 35 | TutorialBubble* currentTutorial; | 18 | TutorialBubble* currentTutorial; |
| 36 | 19 | ||
| 37 | CCLayerColor* shadedLayer; | 20 | CCLayerColor* shadedLayer; |
| @@ -39,9 +22,7 @@ | |||
| 39 | } | 22 | } |
| 40 | 23 | ||
| 41 | @property (nonatomic,retain) TutorialBubble* currentTutorial; | 24 | @property (nonatomic,retain) TutorialBubble* currentTutorial; |
| 42 | + (CCScene*)scene; | ||
| 43 | - (id)init; | 25 | - (id)init; |
| 44 | - (void)updateLabels; | ||
| 45 | - (void)pause; | 26 | - (void)pause; |
| 46 | - (void)unpause; | 27 | - (void)unpause; |
| 47 | - (void)mainmenu; | 28 | - (void)mainmenu; |
