Packagecom.lookbackon.ds.aStar
Classpublic class AStarNode
InheritanceAStarNode Inheritance Object

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



Public Properties
 PropertyDefined 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
 MethodDefined By
  
AStarNode(x:int, y:int)
AStarNode
  
toString():String
AStarNode
Property Detail
costMultiplierproperty
public var costMultiplier:Number = 1.0

fproperty 
public var f:Number

gproperty 
public var g:Number

hproperty 
public var h:Number

parentproperty 
public var parent:AStarNode

walkableproperty 
public var walkable:Boolean = true

xproperty 
public var x:int

yproperty 
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