Packagebe.dauntless.astar.basic2d.analyzers
Classpublic class FullClippingAnalyzer
InheritanceFullClippingAnalyzer Inheritance Analyzer Inheritance Object

The FullClippingAnalyzer allows the path to go horizontal and vertical, but not diagonal.



Protected Properties
 PropertyDefined By
 Inherited_subAnalyzer : Analyzer
Analyzer
Public Methods
 MethodDefined By
  
Creates a new FullClippingAnalyzer
FullClippingAnalyzer
 Inherited
analyzeTile(mainTile:IAstarTile, req:PathRequest):Boolean
Used to validate a single tile.
Analyzer
 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]
FullClippingAnalyzer
 Inherited
Analyzer
Constructor Detail
FullClippingAnalyzer()Constructor
public function FullClippingAnalyzer()

Creates a new FullClippingAnalyzer

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>