diff options
Diffstat (limited to 'Classes/GameLayer.h')
-rwxr-xr-x | Classes/GameLayer.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Classes/GameLayer.h b/Classes/GameLayer.h new file mode 100755 index 0000000..88a1406 --- /dev/null +++ b/Classes/GameLayer.h | |||
@@ -0,0 +1,38 @@ | |||
1 | // | ||
2 | // GameLayer.h | ||
3 | // Cart Collect | ||
4 | // | ||
5 | // Created by iD Student Account on 7/18/11. | ||
6 | // Copyright 2011 __MyCompanyName__. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import <Foundation/Foundation.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 "PauseLayer.h" | ||
19 | #import "CocosDenshion.h" | ||
20 | #import "SimpleAudioEngine.h" | ||
21 | |||
22 | @interface GameLayer : CCLayer { | ||
23 | NSMutableSet* objects; | ||
24 | float accelX; | ||
25 | CCLabelBMFont* scoreLabel; | ||
26 | CCLabelBMFont* livesLabel; | ||
27 | int score; | ||
28 | int lives; | ||
29 | float addSpeed; | ||
30 | CCSprite* cartSprite; | ||
31 | } | ||
32 | |||
33 | + (CCScene*)scene; | ||
34 | - (id)init; | ||
35 | - (void)updateLabels; | ||
36 | - (void)pause; | ||
37 | |||
38 | @end | ||