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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Classes/GameMode.h b/Classes/GameMode.h index e208d49..ae3fbe5 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h
@@ -15,7 +15,7 @@
15#define GAME_SCENE 436 15#define GAME_SCENE 436
16#define GAME_LAYER 437 16#define GAME_LAYER 437
17 17
18@interface GameMode : CCLayer <UIAlertViewDelegate, CartDelegate> { 18@interface GameMode : CCLayer <UIAlertViewDelegate, CartDelegate, CCStandardTouchDelegate> {
19 NSMutableSet* objects; 19 NSMutableSet* objects;
20 int score; 20 int score;
21 int lives; 21 int lives;
@@ -23,19 +23,23 @@
23 Cart* cart; 23 Cart* cart;
24 FallingObjectFactory* objectFactory; 24 FallingObjectFactory* objectFactory;
25 25
26 CCLayerColor* willPauseLayer;
26 CCLayerColor* shadedLayer; 27 CCLayerColor* shadedLayer;
27 CCLayer* pauseLayer; 28 CCLayer* pauseLayer;
29 BOOL isPaused;
30 BOOL isPausing;
28 31
29 CCLabelBMFont* scoreLabel; 32 CCLabelBMFont* scoreLabel;
30 CCLabelBMFont* livesLabel; 33 CCLabelBMFont* livesLabel;
31 34
32 void (^delayedAction)(void); 35 void (^delayedAction)(void);
33 36
34 BOOL isPaused;
35
36 BOOL hasGyroscope; 37 BOOL hasGyroscope;
37 double pitch; 38 double pitch;
38 CMMotionManager* motionManager; 39 CMMotionManager* motionManager;
40
41 BOOL isGesturing;
42 CGPoint gestureStartPoint;
39} 43}
40 44
41@property (readonly) Cart* cart; 45@property (readonly) Cart* cart;