Packagebe.dauntless.astar.basic3d.analyzers
Classpublic class GravityAnalyzer
InheritanceGravityAnalyzer Inheritance Analyzer Inheritance Object



Protected Properties
 PropertyDefined By
 Inherited_subAnalyzer : Analyzer
Analyzer
Public Methods
 MethodDefined By
  
GravityAnalyzer(ignoreEnd:Boolean = false)
GravityAnalyzer
  
[override]
GravityAnalyzer
 Inherited
Removes an analyzer from the chain.
Analyzer
 Inherited
setSubAnalyzer(subAnalyzer:Analyzer):void
Chains the given subAnalyzer to this analyzer
Analyzer
 Inherited
subAnalyze(mainTile:DataTile, allNeighbours:Vector.<IAstarTile>, neighboursLeft:Vector.<IAstarTile>, req:PathRequest):Vector.<IAstarTile>
Manages the propper chaining of the subanalyzers.
Analyzer
 Inherited
subAnalyzeTile(mainTile:IAstarTile, req:PathRequest):Boolean
Analyzes if a single tile is valid.
Analyzer
Protected Methods
 MethodDefined By
  
analyze(mainTile:IAstarTile, allNeighbours:Vector.<IAstarTile>, neighboursLeft:Vector.<IAstarTile>, req:PathRequest):Vector.<IAstarTile>
[override]
GravityAnalyzer
 Inherited
Analyzer
Constructor Detail
GravityAnalyzer()Constructor
public function GravityAnalyzer(ignoreEnd:Boolean = false)



Parameters
ignoreEnd:Boolean (default = false)
Method Detail
analyze()method
override protected function analyze(mainTile:IAstarTile, allNeighbours:Vector.<IAstarTile>, neighboursLeft:Vector.<IAstarTile>, req:PathRequest):Vector.<IAstarTile>

Parameters

mainTile:IAstarTile
 
allNeighbours:Vector.<IAstarTile>
 
neighboursLeft:Vector.<IAstarTile>
 
req:PathRequest

Returns
Vector.<IAstarTile>
analyzeTile()method 
override public function analyzeTile(tile:IAstarTile, req:PathRequest):Boolean

Parameters

tile:IAstarTile
 
req:PathRequest

Returns
Boolean