summary refs log tree commit diff stats
path: root/Classes/GameMode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/GameMode.h')
-rw-r--r--Classes/GameMode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Classes/GameMode.h b/Classes/GameMode.h index 370550c..53ed9fc 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h
@@ -12,7 +12,7 @@
12#define GAME_SCENE 436 12#define GAME_SCENE 436
13#define GAME_LAYER 437 13#define GAME_LAYER 437
14 14
15@interface GameMode : CCLayer { 15@interface GameMode : CCLayer <UIAlertViewDelegate> {
16 NSMutableSet* objects; 16 NSMutableSet* objects;
17 int score; 17 int score;
18 int lives; 18 int lives;
@@ -25,11 +25,14 @@
25 CCLabelBMFont* livesLabel; 25 CCLabelBMFont* livesLabel;
26 26
27 void (^delayedAction)(void); 27 void (^delayedAction)(void);
28
29 BOOL isPaused;
28} 30}
29 31
30@property (readonly) Cart* cart; 32@property (readonly) Cart* cart;
31@property (nonatomic,assign) int score; 33@property (nonatomic,assign) int score;
32@property (nonatomic,assign) int lives; 34@property (nonatomic,assign) int lives;
35@property (readonly) BOOL isPaused;
33+ (CCScene*)scene; 36+ (CCScene*)scene;
34- (void)tick:(ccTime)dt; 37- (void)tick:(ccTime)dt;
35- (BOOL)canPause; 38- (BOOL)canPause;