summary refs log tree commit diff stats
path: root/Classes/FallingObject.m
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-09-11 19:55:27 -0400
committerStarla Insigna <starla4444@gmail.com>2011-09-11 19:55:27 -0400
commitf3ea6312f1e0d6a0069c41f71f6f40fdfbd8030a (patch)
tree7ff4875e8a4cc169bdd248ba5baf426a0d2f533a /Classes/FallingObject.m
parent4f226a9705d4410fe11d90a89b6cb3b06c8eadc3 (diff)
downloadcartcollect-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-xClasses/FallingObject.m10
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];