diff options
Diffstat (limited to 'Classes/Cart.h')
-rw-r--r-- | Classes/Cart.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Classes/Cart.h b/Classes/Cart.h new file mode 100644 index 0000000..d708d73 --- /dev/null +++ b/Classes/Cart.h | |||
@@ -0,0 +1,22 @@ | |||
1 | // | ||
2 | // Cart.h | ||
3 | // Cart Collect | ||
4 | // | ||
5 | // Created by Starla Insigna on 8/9/11. | ||
6 | // Copyright 2011 Four Island. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import <Foundation/Foundation.h> | ||
10 | #import "cocos2d.h" | ||
11 | |||
12 | @interface Cart : NSObject { | ||
13 | CCSprite* sprite; | ||
14 | float accelX; | ||
15 | } | ||
16 | |||
17 | @property (readonly) CCSprite* sprite; | ||
18 | - (id)initWithSprite:(CCSprite*)sprite; | ||
19 | - (void)tick; | ||
20 | - (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration; | ||
21 | |||
22 | @end | ||