diff options
Diffstat (limited to 'Classes/FallingObject.h')
| -rwxr-xr-x | Classes/FallingObject.h | 3 |
1 files changed, 3 insertions, 0 deletions
| diff --git a/Classes/FallingObject.h b/Classes/FallingObject.h index 3e28903..d3ac638 100755 --- a/Classes/FallingObject.h +++ b/Classes/FallingObject.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | CCSprite* sprite; | 14 | CCSprite* sprite; |
| 15 | int weight; | 15 | int weight; |
| 16 | id<FallingObjectDelegate> delegate; | 16 | id<FallingObjectDelegate> delegate; |
| 17 | BOOL flags[4]; | ||
| 17 | } | 18 | } |
| 18 | 19 | ||
| 19 | @property (readonly) CCSprite* sprite; | 20 | @property (readonly) CCSprite* sprite; |
| @@ -23,5 +24,7 @@ | |||
| 23 | - (BOOL)tick; | 24 | - (BOOL)tick; |
| 24 | - (void)collideWithCart; | 25 | - (void)collideWithCart; |
| 25 | - (void)collideWithFloor; | 26 | - (void)collideWithFloor; |
| 27 | - (BOOL)flag:(int)flag; | ||
| 28 | - (void)setFlag:(int)flag withValue:(BOOL)value; | ||
| 26 | 29 | ||
| 27 | @end | 30 | @end |
