| Package | be.dauntless.astar.core |
| Class | public class AstarPath |
| Inheritance | AstarPath Object |
| Property | Defined By | ||
|---|---|---|---|
| cost : Number [read-only]
Gets the cost of this AstarPath
| AstarPath | ||
| path : Vector.<IAstarTile> [read-only]
Returns a list representation of the path
| AstarPath | ||
| Method | Defined By | ||
|---|---|---|---|
AstarPath(cost:Number = 0, path:Vector.<IAstarTile> = null)
Creates a new AstarPath instance. | AstarPath | ||
toString():String
Returns a string representation of the path
| AstarPath | ||
| cost | property |
cost:Number [read-only] Gets the cost of this AstarPath
public function get cost():Number| path | property |
path:Vector.<IAstarTile> [read-only] Returns a list representation of the path
public function get path():Vector.<IAstarTile>| AstarPath | () | Constructor |
public function AstarPath(cost:Number = 0, path:Vector.<IAstarTile> = null)Creates a new AstarPath instance.
Parameterscost:Number (default = 0) — The total cost of this path
| |
path:Vector.<IAstarTile> (default = null) — The list of IAstarTiles making up the path
|
| toString | () | method |
public function toString():StringReturns a string representation of the path
ReturnsString — A string representation of the path
|