From ab9f7381455b334fa0df563e21775410be74ea45 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sat, 10 Sep 2011 10:04:18 -0400 Subject: Added point multipliers There is support for point multipliers for any game mode, but only Jump currently utilizes it. Closes #222 --- Classes/GameMode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Classes/GameMode.h') 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 @@ NSMutableSet* objects; int score; int lives; + int pointMultiplier; Cart* cart; CCLayerColor* shadedLayer; @@ -32,6 +33,7 @@ @property (readonly) Cart* cart; @property (nonatomic,assign) int score; @property (nonatomic,assign) int lives; +@property (nonatomic,assign) int pointMultiplier; @property (readonly) BOOL isPaused; + (CCScene*)scene; - (void)tick:(ccTime)dt; -- cgit 1.4.1