blob: d708d73c86ce17eb677a6ff16928ebe941429289 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// Cart.h
// Cart Collect
//
// Created by Starla Insigna on 8/9/11.
// Copyright 2011 Four Island. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
@interface Cart : NSObject {
CCSprite* sprite;
float accelX;
}
@property (readonly) CCSprite* sprite;
- (id)initWithSprite:(CCSprite*)sprite;
- (void)tick;
- (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration;
@end
|