Closed creadicted closed 11 years ago
Thanks for the pull request, @creadicted ! Even though your addition is great, I think it is already covered by method callAll()
of FlxGroup
.
That method walks through all elements in the group, calling an specific method on every member. You could do something like:
var group :FlxGroup = new FlxGroup();
...
group.callAll("kill");
How about that?
You are right. :/ I didn't thought about that. :) Thank you
You're welcome! :)
don't think it is the nicest solution but I really miss a function to clear a group without destroying it.