diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-09-11 19:55:27 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-09-11 19:55:27 -0400 |
commit | f3ea6312f1e0d6a0069c41f71f6f40fdfbd8030a (patch) | |
tree | 7ff4875e8a4cc169bdd248ba5baf426a0d2f533a /Classes/FallingObject.m | |
parent | 4f226a9705d4410fe11d90a89b6cb3b06c8eadc3 (diff) | |
download | cartcollect-f3ea6312f1e0d6a0069c41f71f6f40fdfbd8030a.tar.gz cartcollect-f3ea6312f1e0d6a0069c41f71f6f40fdfbd8030a.tar.bz2 cartcollect-f3ea6312f1e0d6a0069c41f71f6f40fdfbd8030a.zip |
Made falling objects on the wave destroy at the ledges v0.4.7
Previously, falling objects on the wave floated through the ledges--now they destroy when they touch the ledges just like objects not on the wave. Falling objects also now only fall straight downward if they were dropped while the wave was active. Closes #221
Diffstat (limited to 'Classes/FallingObject.m')
-rwxr-xr-x | Classes/FallingObject.m | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Classes/FallingObject.m b/Classes/FallingObject.m index 86edd15..85ea902 100755 --- a/Classes/FallingObject.m +++ b/Classes/FallingObject.m | |||
@@ -93,16 +93,6 @@ | |||
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 | |||
106 | - (void)dealloc | 96 | - (void)dealloc |
107 | { | 97 | { |
108 | [sprite.parent removeChild:sprite cleanup:YES]; | 98 | [sprite.parent removeChild:sprite cleanup:YES]; |