diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-07-30 11:19:14 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-07-30 11:19:14 -0400 |
commit | 9cd57b731ab1c666d4a1cb725538fdc137763d12 (patch) | |
tree | 5bac45ae5157a1cb10c6e45500cbf72789917980 /Classes/GameLayer.h | |
download | cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.tar.gz cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.tar.bz2 cartcollect-9cd57b731ab1c666d4a1cb725538fdc137763d12.zip |
Initial commit (version 0.2.1)
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 | ||