diff options
| author | Starla Insigna <starla4444@gmail.com> | 2013-01-02 23:27:26 -0500 |
|---|---|---|
| committer | Starla Insigna <starla4444@gmail.com> | 2013-01-02 23:27:26 -0500 |
| commit | ba19dd3f2517a95e09dcfe288a781c6f335b5e81 (patch) | |
| tree | 681e43be807ed46b75dab6b291a6a6dd3e67b6e5 /Classes/GameMode.h | |
| parent | 28497668761472e085d0c9955aa8077d11bf353c (diff) | |
| parent | f82fdb7134632c1a52902d44c0d555dac0225898 (diff) | |
| download | cartcollect-ba19dd3f2517a95e09dcfe288a781c6f335b5e81.tar.gz cartcollect-ba19dd3f2517a95e09dcfe288a781c6f335b5e81.tar.bz2 cartcollect-ba19dd3f2517a95e09dcfe288a781c6f335b5e81.zip | |
Pulled in trunk changes because the iOS 6 bug was making it impossible to test
Diffstat (limited to 'Classes/GameMode.h')
| -rw-r--r-- | Classes/GameMode.h | 6 |
1 files changed, 6 insertions, 0 deletions
| diff --git a/Classes/GameMode.h b/Classes/GameMode.h index cd41884..e208d49 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #import "Cart.h" | 10 | #import "Cart.h" |
| 11 | #import "FallingObjectFactory.h" | 11 | #import "FallingObjectFactory.h" |
| 12 | #import "GameModeInfo.h" | 12 | #import "GameModeInfo.h" |
| 13 | #import <CoreMotion/CoreMotion.h> | ||
| 13 | 14 | ||
| 14 | #define GAME_SCENE 436 | 15 | #define GAME_SCENE 436 |
| 15 | #define GAME_LAYER 437 | 16 | #define GAME_LAYER 437 |
| @@ -31,6 +32,10 @@ | |||
| 31 | void (^delayedAction)(void); | 32 | void (^delayedAction)(void); |
| 32 | 33 | ||
| 33 | BOOL isPaused; | 34 | BOOL isPaused; |
| 35 | |||
| 36 | BOOL hasGyroscope; | ||
| 37 | double pitch; | ||
| 38 | CMMotionManager* motionManager; | ||
| 34 | } | 39 | } |
| 35 | 40 | ||
| 36 | @property (readonly) Cart* cart; | 41 | @property (readonly) Cart* cart; |
| @@ -46,5 +51,6 @@ | |||
| 46 | - (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay; | 51 | - (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay; |
| 47 | - (void)runDelayedAction; | 52 | - (void)runDelayedAction; |
| 48 | + (GameModeInfo*)info; | 53 | + (GameModeInfo*)info; |
| 54 | - (void)setPitch:(double)m_pitch; | ||
| 49 | 55 | ||
| 50 | @end | 56 | @end |
