pyjsdl :: sprite :: RenderUpdates :: Class RenderUpdates

Class RenderUpdates

object --+    
         |    
     Group --+
             |
            RenderUpdates

pyjsdl.sprite.RenderUpdates

Instance Methods
 
__init__(self, *sprites)
Return RenderUpdates, a Group subsclass that provides dirty draw functions. Can optionally be called with sprite(s) to add.
 
draw(self, surface)
Draw sprite on surface. Returns list of Rect of sprites updated, which can be passed to display.update.

Inherited from Group: __contains__, __iter__, __len__, __repr__, __str__, add, clear, copy, empty, has, remove, sprites, update

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, *sprites)
(Constructor)

 
Return RenderUpdates, a Group subsclass that provides dirty draw functions. Can optionally be called with sprite(s) to add.
Overrides: object.__init__

draw(self, surface)

 
Draw sprite on surface. Returns list of Rect of sprites updated, which can be passed to display.update.
Overrides: Group.draw