| Home | Trees | Index | Help |
|---|
| Package pygsear :: Module Event :: Class Event |
|
object--+ |Sprite--+ | Event
KEY_Event,
MOUSEBUTTON_Event,
QUIT_Event,
TIMEOUT_Event| Method Summary | |
|---|---|
Initialize the event. | |
| a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Sprite)
| |
Add this Event to an EventGroup. | |
add_internal(self,
group)
(inherited from Sprite)
| |
alive() -> bool ask the life of a sprite (inherited from Sprite)
| |
Perform the callback, if enabled. | |
Do not allow callbacks to go through. | |
Allow callbacks to go through. | |
groups() -> list list used sprite containers (inherited from Sprite)
| |
kill() end life of sprite, remove from all groups (inherited from Sprite)
| |
Do nothing. | |
remove(group) remove a sprite from container (inherited from Sprite)
| |
remove_internal(self,
group)
(inherited from Sprite)
| |
update(self,
*args)
(inherited from Sprite)
| |
| Method Details |
|---|
__init__(self,
type,
callback=None,
**kwargs)
Initialize the event.
|
__new__(S, ...)
|
add(self, group)Add thisEvent to an EventGroup.
|
call(self, pygame_event, **kwargs)Perform the callback, if enabled.
|
disable(self)Do not allow callbacks to go through. |
enable(self)Allow callbacks to go through. |
nop(self, ev, **kwargs)Do nothing. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Sun Jan 25 19:10:13 2004 | http://epydoc.sf.net |