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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Classes/GameMode.h b/Classes/GameMode.h index e82ad10..2fcf275 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h
@@ -8,6 +8,7 @@
8 8
9#import "CCLayer.h" 9#import "CCLayer.h"
10#import "Cart.h" 10#import "Cart.h"
11#import <CoreMotion/CoreMotion.h>
11 12
12#define GAME_SCENE 436 13#define GAME_SCENE 436
13#define GAME_LAYER 437 14#define GAME_LAYER 437
@@ -28,6 +29,10 @@
28 void (^delayedAction)(void); 29 void (^delayedAction)(void);
29 30
30 BOOL isPaused; 31 BOOL isPaused;
32
33 BOOL hasGyroscope;
34 double pitch;
35 CMMotionManager* motionManager;
31} 36}
32 37
33@property (readonly) Cart* cart; 38@property (readonly) Cart* cart;
@@ -43,5 +48,6 @@
43- (void)mainmenu; 48- (void)mainmenu;
44- (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay; 49- (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay;
45- (void)runDelayedAction; 50- (void)runDelayedAction;
51- (void)setPitch:(double)m_pitch;
46 52
47@end 53@end