blob: 0ef1abf3724c1aca9d14edda3bcc5a4075d39d15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// 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;
BOOL immobile;
}
@property (readonly) CCSprite* sprite;
@property (assign) BOOL immobile;
- (id)initWithSprite:(CCSprite*)sprite;
- (void)tick;
- (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration;
@end
|