Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class PedestrianInterface |
|
object
--+ |Interface
--+ |BareBonesInterface
--+ |BasicInterface
--+ | PedestrianInterface
PedestrianInterfaceY
Method Summary | |
---|---|
Initialize new instance. | |
Move camera backward. | |
Move camera forward. | |
Rotate camera left. | |
moveCam(self,
inc)
| |
Rotate camera right. | |
Inherited from BasicInterface | |
Advance engine one step only. | |
Toggle engine progress on/off. | |
Zoom in on principle camera. | |
Zoom out on principle camera. | |
Inherited from BareBonesInterface | |
The mouse moved into or out of the window. | |
Handle all interface events (from Pygame events) | |
The mouse was dragged to the specified location while the given mouse button was held down. | |
The mouse moved with no buttons pressed. | |
| |
Resets all cameras. | |
Decrease window size. | |
Increase window size. | |
The window had a visibility chnage. | |
Inherited from Interface | |
A key was pressed. | |
The specified mouse button was clicked while the mouse was at the given location. | |
The specified mouse button was released while the mouse was at the given location. | |
Setup interface after components all exist. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
tuple |
defaultCamera : preferred camera class and default __init__ params |
float |
increment = 0.050000000000000003 |
float |
rotate_inc : how far to rotate camera per keystroke. |
Method Details |
---|
__init__(self,
engine)
Initialize new instance.
|
backward(self, empty=None)Move camera backward. |
forward(self, empty=None)Move camera forward. |
left(self, empty=None)Rotate camera left. |
right(self, empty=None)Rotate camera right. |
Class Variable Details |
---|
defaultCamerapreferred camera class and default __init__ params
|
increment
|
rotate_inchow far to rotate camera per keystroke.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:15 2006 | http://epydoc.sf.net |