diff options
Diffstat (limited to 'Classes/GameMode.h')
-rw-r--r-- | Classes/GameMode.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Classes/GameMode.h b/Classes/GameMode.h new file mode 100644 index 0000000..bd47c90 --- /dev/null +++ b/Classes/GameMode.h | |||
@@ -0,0 +1,27 @@ | |||
1 | // | ||
2 | // GameMode.h | ||
3 | // Cart Collect | ||
4 | // | ||
5 | // Created by Starla Insigna on 8/9/11. | ||
6 | // Copyright 2011 Four Island. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import "CCLayer.h" | ||
10 | #import "Cart.h" | ||
11 | |||
12 | #define GAME_SCENE 436 | ||
13 | #define GAME_LAYER 437 | ||
14 | |||
15 | @interface GameMode : CCLayer { | ||
16 | NSMutableSet* objects; | ||
17 | int score; | ||
18 | int lives; | ||
19 | Cart* cart; | ||
20 | } | ||
21 | |||
22 | @property (readonly) Cart* cart; | ||
23 | @property (assign) int score; | ||
24 | @property (assign) int lives; | ||
25 | - (void)tick:(ccTime)dt; | ||
26 | |||
27 | @end | ||