Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class TurtlePath |
|
Path
--+
|
TurtlePath
Method Summary | |
---|---|
__init__(self,
position,
deg)
| |
back(self,
dist)
| |
forward(self,
dist)
| |
get_deg(self)
| |
Return the direction from the previous location to the current location. | |
left(self,
deg)
| |
A questionable hack to let Penguin exit in the middle of the demo. | |
right(self,
deg)
| |
set_deg(self,
deg)
| |
set_direction(self,
direction)
| |
Inherited from Path | |
| |
Return position along Path | |
return x component of position | |
return y component of position | |
true if path position is on main window | |
stop moving along path | |
put path back to original state | |
Path will raise StopIteration after self.duration seconds | |
Set position and update positionOld | |
resume moving along 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 2.0 on Sat Dec 9 14:11:19 2006 | http://epydoc.sf.net |