| Package | org.wak.baseoneonline.flash.astar |
| Class | public class AStarNode |
| Inheritance | AStarNode IntPoint |
| Property | Defined by | ||
|---|---|---|---|
| cost : Number = 1 | AStarNode | ||
| f : Number [read-only]
| AStarNode | ||
| g : Number = 0 | AStarNode | ||
| h : Number = 0 | AStarNode | ||
| parent : AStarNode | AStarNode | ||
| walkable : Boolean | AStarNode | ||
![]() | x : int | IntPoint | |
![]() | y : int | IntPoint | |
| Method | Defined by | ||
|---|---|---|---|
|
AStarNode(x:int, y:int, walkable:Boolean = true)
| AStarNode | ||
![]() | IntPoint | ||
![]() | IntPoint | ||
![]() |
toString():String
| IntPoint | |
| cost | property |
public var cost:Number = 1
| f | property |
f:Number [read-only]Implementation
public function get f():Number
| g | property |
public var g:Number = 0
| h | property |
public var h:Number = 0
| parent | property |
public var parent:AStarNode
| walkable | property |
public var walkable:Boolean
| AStarNode | () | constructor |
public function AStarNode(x:int, y:int, walkable:Boolean = true)Parameters
x:int |
|
y:int |
|
walkable:Boolean (default = true) |