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.m | |
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.m')
-rwxr-xr-x | Classes/FallingObject.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Classes/FallingObject.m b/Classes/FallingObject.m index 85ea902..86edd15 100755 --- a/Classes/FallingObject.m +++ b/Classes/FallingObject.m | |||
@@ -93,6 +93,16 @@ | |||
93 | 93 | ||
94 | } | 94 | } |
95 | 95 | ||
96 | - (BOOL)flag:(int)flag | ||
97 | { | ||
98 | return flags[flag]; | ||
99 | } | ||
100 | |||
101 | - (void)setFlag:(int)flag withValue:(BOOL)value | ||
102 | { | ||
103 | flags[flag] = value; | ||
104 | } | ||
105 | |||
96 | - (void)dealloc | 106 | - (void)dealloc |
97 | { | 107 | { |
98 | [sprite.parent removeChild:sprite cleanup:YES]; | 108 | [sprite.parent removeChild:sprite cleanup:YES]; |