summary refs log tree commit diff stats
path: root/Classes/Cart.h
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/Cart.h')
-rw-r--r--Classes/Cart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Classes/Cart.h b/Classes/Cart.h index 302e5ec..1058025 100644 --- a/Classes/Cart.h +++ b/Classes/Cart.h
@@ -16,12 +16,14 @@
16 BOOL immobile; 16 BOOL immobile;
17 id<CartDelegate> delegate; 17 id<CartDelegate> delegate;
18 BOOL falling; 18 BOOL falling;
19 BOOL boundedByScreen;
19} 20}
20 21
21@property (readonly) CCSprite* sprite; 22@property (readonly) CCSprite* sprite;
22@property (assign) BOOL immobile; 23@property (assign) BOOL immobile;
23@property (nonatomic,retain) id<CartDelegate> delegate; 24@property (nonatomic,retain) id<CartDelegate> delegate;
24@property (assign) BOOL falling; 25@property (assign) BOOL falling;
26@property (assign) BOOL boundedByScreen;
25- (id)initWithSprite:(CCSprite*)sprite; 27- (id)initWithSprite:(CCSprite*)sprite;
26- (void)tick; 28- (void)tick;
27- (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration; 29- (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration;