Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class StationaryPath |
|
Path
--+
|
StationaryPath
For things that do not move, but need to be moved sometimes
Depending on the size of the sprite, and how many other sprites there are, you may be better off using a Drawable.Stationary object instead, which draws the image directly to the background and does not need to be updated every frame.Method Summary | |
---|---|
__init__(self,
sprite,
duration)
| |
return position | |
Inherited from Path | |
| |
Return the direction from the previous location to the current location. | |
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 |
---|
next(self)return position
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:20 2006 | http://epydoc.sf.net |