| 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 Mon Jul 13 12:48:15 2015 | http://epydoc.sourceforge.net |