Home | Trees | Index | Help |
---|
Package pygame :: Module sprite :: Class RenderUpdates |
|
object
--+ |Group
--+ |RenderClear
--+ | RenderUpdates
Multi
,
SpriteGroup
Method Summary | |
---|---|
__init__(sprite=()) instance a Group (inherited from RenderClear )
| |
__len__() -> int number of sprites in group (inherited from Group )
| |
a new object with type S, a subtype of T |
|
__nonzero__() -> bool ask if group is empty (inherited from Group )
| |
__repr__(self)
(inherited from Group )
| |
add(sprite) add sprite to group (inherited from Group )
| |
add_internal(self,
sprite)
(inherited from Group )
| |
clear(surface, bgd) erase the previous position of all sprites (inherited from RenderClear )
| |
copy() -> Group copy a group with all the same sprites (inherited from Group )
| |
draw(surface) draw all sprites onto the surface | |
empty() remove all sprites (inherited from Group )
| |
has(sprite) -> bool ask if group has sprite (inherited from Group )
| |
remove(sprite) remove sprite from group (inherited from Group )
| |
remove_internal(self,
sprite)
(inherited from RenderClear )
| |
sprites() -> iterator return an object to loop over each sprite (inherited from Group )
| |
update(...) call update for all member sprites (inherited from Group )
|
Method Details |
---|
__new__(S, ...)
|
draw(self, surface)draw(surface) draw all sprites onto the surface Draws all the sprites onto the given surface. It returns a list of rectangles, which should be passed to pygame.display.update() |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Jan 25 19:10:12 2004 | http://epydoc.sf.net |