Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class TurtlePath |
|
Path
--+
|
TurtlePath
Method Summary | |
---|---|
__init__(self,
position,
deg)
| |
__iter__(self)
(inherited from Path )
| |
back(self,
dist)
| |
forward(self,
dist)
| |
get_deg(self)
| |
Return the direction from the previous location to the current location. | |
Return position along Path (inherited from Path )
| |
return x component of position (inherited from Path )
| |
return y component of position (inherited from Path )
| |
left(self,
deg)
| |
A questionable hack to let Penguin exit in the middle of the demo. | |
true if path position is on main window (inherited from Path )
| |
stop moving along path (inherited from Path )
| |
put path back to original state (inherited from Path )
| |
right(self,
deg)
| |
set_deg(self,
deg)
| |
set_direction(self,
direction)
| |
Path will raise StopIteration after self.duration seconds (inherited from Path )
| |
Set position and update positionOld (inherited from Path )
| |
resume moving along path (inherited from Path )
|
Method Details |
---|
get_direction(self)Return the direction from the previous location to the current location.
|
next(self)A questionable hack to let Penguin exit in the middle of the demo. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:15 2003 | http://epydoc.sf.net |