diff options
Diffstat (limited to 'Classes/Cart.h')
-rw-r--r-- | Classes/Cart.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Classes/Cart.h b/Classes/Cart.h index d708d73..0ef1abf 100644 --- a/Classes/Cart.h +++ b/Classes/Cart.h | |||
@@ -12,9 +12,11 @@ | |||
12 | @interface Cart : NSObject { | 12 | @interface Cart : NSObject { |
13 | CCSprite* sprite; | 13 | CCSprite* sprite; |
14 | float accelX; | 14 | float accelX; |
15 | BOOL immobile; | ||
15 | } | 16 | } |
16 | 17 | ||
17 | @property (readonly) CCSprite* sprite; | 18 | @property (readonly) CCSprite* sprite; |
19 | @property (assign) BOOL immobile; | ||
18 | - (id)initWithSprite:(CCSprite*)sprite; | 20 | - (id)initWithSprite:(CCSprite*)sprite; |
19 | - (void)tick; | 21 | - (void)tick; |
20 | - (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration; | 22 | - (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration; |