SpriteGroup
(texture, blend_src, blend_dest, parent=None)¶Shared sprite rendering group.
The group is automatically coalesced with other sprite groups sharing the same parent group, texture and blend parameters.
Constructor:
__init__
(texture, blend_src, blend_dest, parent=None)¶Create a sprite group.
The group is created internally within Sprite; applications usually do not need to explicitly create it.
Parameters: |
---|
Methods:
set_state
()unset_state
()
Methods
SpriteGroup.
set_state_recursive
()Set this group and its ancestry.
Call this method if you are using a group in isolation: the parent groups will be called in top-down order, with this class’s set being called last.
SpriteGroup.
unset_state_recursive
()Unset this group and its ancestry.
The inverse of set_state_recursive.