Home | Trees | Indices | Help |
|
---|
|
object --+ | AStar
A* pathfinder
Using this class requires a callback detailed in AStar.__init__
Instance Methods | |||
|
|||
|
|||
[(x, y), ...] |
|
||
Inherited from |
Properties | |
_as_parameter_ | |
Inherited from |
Method Details |
Create an A* pathfinder using a callback. Before crating this instance you should make one of two types of callbacks:
or
If path is blocked the function should return zero or None. When using the second type of callback be sure to set advanced=True
|
Get the shortest path from origXY to destXY.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat May 28 16:09:37 2016 | http://epydoc.sourceforge.net |