diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-09-10 10:25:25 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-09-10 10:25:25 -0400 |
commit | c5edc8808e9f9dbb1daeda760ba74ef0cf2e9dce (patch) | |
tree | 07a4064c546cab9a130a3f3b13c762c190f9749a /Classes/FallingObject.h | |
parent | ab9f7381455b334fa0df563e21775410be74ea45 (diff) | |
download | cartcollect-c5edc8808e9f9dbb1daeda760ba74ef0cf2e9dce.tar.gz cartcollect-c5edc8808e9f9dbb1daeda760ba74ef0cf2e9dce.tar.bz2 cartcollect-c5edc8808e9f9dbb1daeda760ba74ef0cf2e9dce.zip |
Modified behavior of falling objects in Jump v0.4.5
Also increased the distance between ledges as the game goes on, and changed the sound point multipliers make when you catch them. Closes #221, #223
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 |