summary refs log tree commit diff stats
path: root/Classes/Cart.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-09-10 14:33:27 -0400
committerStarla Insigna <starla4444@gmail.com>2011-09-10 14:33:27 -0400
commit5ccc4fc305f502a552b1ac7e815e576c93a8159a (patch)
tree5bf4ede55160769ab74ffde1488f5382ed3ba93f /Classes/Cart.h
parentf7ce2c458df032f65c4c1eb31cf705bb284a3ee7 (diff)
downloadcartcollect-0.4.6.tar.gz
cartcollect-0.4.6.tar.bz2
cartcollect-0.4.6.zip
Jump: Allowed cart to be pushed off side of screen when below ledges v0.4.6
Closes #227
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;