summary refs log tree commit diff stats
path: root/Classes/GameMode.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-09-10 10:04:18 -0400
committerStarla Insigna <starla4444@gmail.com>2011-09-10 10:04:18 -0400
commitab9f7381455b334fa0df563e21775410be74ea45 (patch)
tree531ffb35abf20c8a75103a66c7de0a7136b11d24 /Classes/GameMode.h
parentb090d12d637e5cfbf0ac6955fa6c8d401de657b5 (diff)
downloadcartcollect-ab9f7381455b334fa0df563e21775410be74ea45.tar.gz
cartcollect-ab9f7381455b334fa0df563e21775410be74ea45.tar.bz2
cartcollect-ab9f7381455b334fa0df563e21775410be74ea45.zip
Added point multipliers
There is support for point multipliers for any game mode, but only Jump currently utilizes it.

Closes #222
Diffstat (limited to 'Classes/GameMode.h')
-rw-r--r--Classes/GameMode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Classes/GameMode.h b/Classes/GameMode.h index 0659a57..e82ad10 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h
@@ -16,6 +16,7 @@
16 NSMutableSet* objects; 16 NSMutableSet* objects;
17 int score; 17 int score;
18 int lives; 18 int lives;
19 int pointMultiplier;
19 Cart* cart; 20 Cart* cart;
20 21
21 CCLayerColor* shadedLayer; 22 CCLayerColor* shadedLayer;
@@ -32,6 +33,7 @@
32@property (readonly) Cart* cart; 33@property (readonly) Cart* cart;
33@property (nonatomic,assign) int score; 34@property (nonatomic,assign) int score;
34@property (nonatomic,assign) int lives; 35@property (nonatomic,assign) int lives;
36@property (nonatomic,assign) int pointMultiplier;
35@property (readonly) BOOL isPaused; 37@property (readonly) BOOL isPaused;
36+ (CCScene*)scene; 38+ (CCScene*)scene;
37- (void)tick:(ccTime)dt; 39- (void)tick:(ccTime)dt;