summary refs log tree commit diff stats
path: root/Classes/FallingObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/FallingObject.h')
-rwxr-xr-xClasses/FallingObject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Classes/FallingObject.h b/Classes/FallingObject.h index 0bda787..3e28903 100755 --- a/Classes/FallingObject.h +++ b/Classes/FallingObject.h
@@ -8,14 +8,17 @@
8 8
9#import <Foundation/Foundation.h> 9#import <Foundation/Foundation.h>
10#import "cocos2d.h" 10#import "cocos2d.h"
11#import "FallingObjectDelegate.h"
11 12
12@interface FallingObject : NSObject { 13@interface FallingObject : NSObject {
13 CCSprite* sprite; 14 CCSprite* sprite;
14 int weight; 15 int weight;
16 id<FallingObjectDelegate> delegate;
15} 17}
16 18
17@property (readonly) CCSprite* sprite; 19@property (readonly) CCSprite* sprite;
18@property (readonly) int weight; 20@property (readonly) int weight;
21@property (nonatomic,retain) id<FallingObjectDelegate> delegate;
19- (id)init; 22- (id)init;
20- (BOOL)tick; 23- (BOOL)tick;
21- (void)collideWithCart; 24- (void)collideWithCart;