diff options
Diffstat (limited to 'Classes/GameLayer.h')
| -rwxr-xr-x | Classes/GameLayer.h | 14 |
1 files changed, 13 insertions, 1 deletions
| diff --git a/Classes/GameLayer.h b/Classes/GameLayer.h index 88a1406..e72b551 100755 --- a/Classes/GameLayer.h +++ b/Classes/GameLayer.h | |||
| @@ -15,9 +15,13 @@ | |||
| 15 | #import "Rock.h" | 15 | #import "Rock.h" |
| 16 | #import "GameOverLayer.h" | 16 | #import "GameOverLayer.h" |
| 17 | #import "ValuableObject.h" | 17 | #import "ValuableObject.h" |
| 18 | #import "PauseLayer.h" | ||
| 19 | #import "CocosDenshion.h" | 18 | #import "CocosDenshion.h" |
| 20 | #import "SimpleAudioEngine.h" | 19 | #import "SimpleAudioEngine.h" |
| 20 | #import "TutorialBubble.h" | ||
| 21 | #import "MainMenuLayer.h" | ||
| 22 | |||
| 23 | #define GAME_SCENE 436 | ||
| 24 | #define GAME_LAYER 437 | ||
| 21 | 25 | ||
| 22 | @interface GameLayer : CCLayer { | 26 | @interface GameLayer : CCLayer { |
| 23 | NSMutableSet* objects; | 27 | NSMutableSet* objects; |
| @@ -28,11 +32,19 @@ | |||
| 28 | int lives; | 32 | int lives; |
| 29 | float addSpeed; | 33 | float addSpeed; |
| 30 | CCSprite* cartSprite; | 34 | CCSprite* cartSprite; |
| 35 | TutorialBubble* currentTutorial; | ||
| 36 | |||
| 37 | CCLayerColor* shadedLayer; | ||
| 38 | CCLayer* pauseLayer; | ||
| 31 | } | 39 | } |
| 32 | 40 | ||
| 41 | @property (nonatomic,retain) TutorialBubble* currentTutorial; | ||
| 33 | + (CCScene*)scene; | 42 | + (CCScene*)scene; |
| 34 | - (id)init; | 43 | - (id)init; |
| 35 | - (void)updateLabels; | 44 | - (void)updateLabels; |
| 36 | - (void)pause; | 45 | - (void)pause; |
| 46 | - (void)unpause; | ||
| 47 | - (void)mainmenu; | ||
| 48 | - (void)endTutorial; | ||
| 37 | 49 | ||
| 38 | @end | 50 | @end |
