GODPAPER | All Packages | All Classes | Index | Frames No Frames |
AStarNode

Package | com.lookbackon.ds.aStar
Class | public class AStarNode
Inheritance | AStarNode Object

Represents a specific node evaluated as part of a pathfinding algorithm.

Public Properties

| Property | Defined By
--- | --- | ---
|  | costMultiplier : Number = 1.0 | AStarNode
|  | f : Number | AStarNode
|  | g : Number | AStarNode
|  | h : Number | AStarNode
|  | parent : AStarNode | AStarNode
|  | walkable : Boolean = true | AStarNode
|  | x : int | AStarNode
|  | y : int | AStarNode

Public Methods

| Method | Defined By
--- | --- | ---
|  | AStarNode(x:int, y:int) | AStarNode
|  | toString():String | AStarNode

Property Detail

costMultiplier | property

`public var costMultiplier:Number = 1.0`

f | property |

`public var f:Number`

g | property |

`public var g:Number`

h | property |

`public var h:Number`

parent | property |

`public var parent:AStarNode`

walkable | property |

`public var walkable:Boolean = true`

x | property |

`public var x:int`

y | property |

`public var y:int`

Constructor Detail

AStarNode | () | Constructor

`public function AStarNode(x:int, y:int)`

Parameters

| `x:int`
| `y:int`

Method Detail

toString | () | method

`public function toString():String`

Returns

| `String`

Thu Jan 16 2014, 01:11 PM +08:00