|
|
__init__(self,
*sprites)
Return Group.
Can optionally be called with sprite(s) to add. |
|
|
|
|
|
|
|
|
|
|
|
|
|
| __contains__(self,
sprite) |
|
|
|
|
|
|
|
sprites(self)
Return list of sprites in the group. |
|
|
|
|
copy(self)
Return copy of group. |
|
|
|
|
add(self,
*sprites)
Add sprite(s) to group. |
|
|
|
|
remove(self,
*sprites)
Remove sprite(s) from group. |
|
|
|
|
has(self,
*sprites)
Check if all sprite(s) in group. |
|
|
|
|
draw(self,
surface)
Draw sprite on surface. |
|
|
|
|
clear(self,
surface,
background)
Clear previous sprite draw to surface using a background surface.
The background argument can be a callback function. |
|
|
|
|
|
|
|
update(self,
*args)
Update sprites in group by calling sprite.update. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|