Home | Trees | Index | Help |
---|
Package pygsear :: Module Event :: Class EventGroup |
|
object
--+ |Group
--+ | EventGroup
Method Summary | |
---|---|
Initialize the Group. | |
__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 the event to the container. | |
add_internal(self,
sprite)
(inherited from Group )
| |
Go through the pygame event queue and callback to events that should be triggered. | |
copy() -> Group copy a group with all the same sprites (inherited from Group )
| |
Do not allow callbacks to any sprites in this group to go through. | |
empty() remove all sprites (inherited from Group )
| |
Allow callbacks to all events in this group to go through. | |
return a list of all events in this group. | |
has(sprite) -> bool ask if group has sprite (inherited from Group )
| |
Call the kill method on every event in this group, to
remove all of the events from all of the groups they are in. | |
remove(sprite) remove sprite from group (inherited from Group )
| |
remove_internal(self,
sprite)
(inherited from Group )
| |
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 |
---|
__init__(self,
event=())
Initialize the Group.
|
__new__(S, ...)
|
add(self, event)Add the event to the container.
|
check(self)Go through the pygame event queue and callback to events that should be triggered. Also checks the special |
disable(self)Do not allow callbacks to any sprites in this group to go through. |
enable(self)Allow callbacks to all events in this group to go through. |
events(self)return a list of all events in this group. |
kill(self)Call thekill method on every event in this group, to
remove all of the events from all of the groups they are in.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Jan 25 19:10:13 2004 | http://epydoc.sf.net |