| Method | Defined by | ||
|---|---|---|---|
|
| AStar | ||
|
solve():Array
FIND PATH
Find the path!
| AStar | ||
| closed | property |
public var closed:Array
| open | property |
public var open:Array
| visited | property |
public var visited:Array
| AStar | () | constructor |
public function AStar(map:IAStarSearchable, start:IntPoint, goal:IntPoint)Parameters
map:IAStarSearchable — map The map to be searched, will not be modified
|
|
start:IntPoint — Guess what? The starting position!
|
|
goal:IntPoint — This is where we want to end up.
|
| solve | () | method |
public function solve():ArrayFIND PATH Find the path!
ReturnsArray — An array of IntPoints describing the resulting path
|