summary refs log blame commit diff stats
path: root/Classes/FallingObject.h
blob: 3e28903857e11c157667023f6ce4d120d2552b44 (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                                          
                                 


                                     
                                       


                                      
                                                                
           

                         
    
//
//  GameObject.h
//  Cart Collect
//
//  Created by iD Student Account on 7/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "FallingObjectDelegate.h"

@interface FallingObject : NSObject {
	CCSprite* sprite;
    int weight;
    id<FallingObjectDelegate> delegate;
}

@property (readonly) CCSprite* sprite;
@property (readonly) int weight;
@property (nonatomic,retain) id<FallingObjectDelegate> delegate;
- (id)init;
- (BOOL)tick;
- (void)collideWithCart;
- (void)collideWithFloor;

@end