Gonzalo Castro wrote:
Hi!
group.has() is a membership test that takes at least one sprite as an
argument. It tests if a one or more sprites are in a group. It it not for
testing if any sprites are in a group. This is not documented, yet, but to
check if a group is empty or not get its boolean value. An empty group
evaluates to False.
Lots of thanks! I didn't understand properly the documentation ;)
So there isn't any function that tells you what sprites are in it?
Thanks again :)
group.sprites() returns a list of sprites in the group. or:
for sprite in group:
# do something with sprite.
--
Lenard Lindstrom
<[EMAIL PROTECTED]>