blob: 0bda7875ea3753a18b1389509d0617398926ccd1 (
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
|
//
// 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"
@interface FallingObject : NSObject {
CCSprite* sprite;
int weight;
}
@property (readonly) CCSprite* sprite;
@property (readonly) int weight;
- (id)init;
- (BOOL)tick;
- (void)collideWithCart;
- (void)collideWithFloor;
@end
|