Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class AccelerationPath |
|
Path
--+ |VelocityPath
--+ | AccelerationPath
Method Summary | |
---|---|
__init__(self,
startLocation,
vx,
vy,
ax,
ay,
gx,
gy,
duration)
| |
__iter__(self)
(inherited from Path )
| |
accelerate(self,
ax,
ay)
(inherited from VelocityPath )
| |
Return the direction from the previous location to the current location. (inherited from VelocityPath )
| |
Return position along Path (inherited from Path )
| |
get_speed(self)
(inherited from VelocityPath )
| |
return x component of position (inherited from Path )
| |
return y component of position (inherited from Path )
| |
Use velocity and acceleration info to move sprite, and return position. | |
true if path position is on main window (inherited from Path )
| |
stop moving along path (inherited from Path )
| |
put path back to original state | |
set_acceleration(self,
ax,
ay)
| |
Path will raise StopIteration after self.duration seconds (inherited from Path )
| |
set_gravity(self,
gx,
gy)
| |
Set position and update positionOld (inherited from Path )
| |
set_velocity(self,
vx,
vy)
(inherited from VelocityPath )
| |
resume moving along path (inherited from Path )
|
Method Details |
---|
next(self, t=None)Use velocity and acceleration info to move sprite, and return position.
|
reset(self)put path back to original state
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:14 2003 | http://epydoc.sf.net |