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. | |
Add this Event to an EventGroup . | |
Perform the callback, if enabled. | |
Do not allow callbacks to go through. | |
Allow callbacks to go through. | |
Do nothing. | |
Inherited from Sprite | |
| |
| |
alive() -> bool check to see if the sprite is in any groups | |
groups() -> list of groups list used sprite containers | |
kill() remove this sprite from all groups | |
remove(group or list of groups, ...) remove a sprite from container | |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Method Details |
---|
__init__(self,
type,
callback=None,
**kwargs)
Initialize the event.
|
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 2.0 on Sat Dec 9 14:11:19 2006 | http://epydoc.sf.net |