[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] groups



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 :)