C# Class EpPathFinding.JumpPointParam

Exibir arquivo Open project: OpenNos/OpenNos Class Usage Examples

Public Properties

Property Type Description
openList List

Protected Properties

Property Type Description
m_allowEndNodeUnWalkable bool
m_crossAdjacentPoint bool
m_crossCorner bool
m_endNode Node
m_heuristic HeuristicDelegate
m_searchGrid BaseGrid
m_startNode Node
m_useRecursive bool

Public Methods

Method Description
JumpPointParam ( BaseGrid iGrid, GridPos iStartPos, GridPos iEndPos, bool iAllowEndNodeUnWalkable = true, bool iCrossCorner = true, bool iCrossAdjacentPoint = true, HeuristicMode iMode = HeuristicMode.EUCLIDEAN ) : System
JumpPointParam ( BaseGrid iGrid, bool iAllowEndNodeUnWalkable = true, bool iCrossCorner = true, bool iCrossAdjacentPoint = true, HeuristicMode iMode = HeuristicMode.EUCLIDEAN ) : System
JumpPointParam ( JumpPointParam b ) : System
Reset ( GridPos iStartPos, GridPos iEndPos, BaseGrid iSearchGrid = null ) : void
SetHeuristic ( HeuristicMode iMode ) : void

Method Details

JumpPointParam() public method

public JumpPointParam ( BaseGrid iGrid, GridPos iStartPos, GridPos iEndPos, bool iAllowEndNodeUnWalkable = true, bool iCrossCorner = true, bool iCrossAdjacentPoint = true, HeuristicMode iMode = HeuristicMode.EUCLIDEAN ) : System
iGrid BaseGrid
iStartPos GridPos
iEndPos GridPos
iAllowEndNodeUnWalkable bool
iCrossCorner bool
iCrossAdjacentPoint bool
iMode HeuristicMode
return System

JumpPointParam() public method

public JumpPointParam ( BaseGrid iGrid, bool iAllowEndNodeUnWalkable = true, bool iCrossCorner = true, bool iCrossAdjacentPoint = true, HeuristicMode iMode = HeuristicMode.EUCLIDEAN ) : System
iGrid BaseGrid
iAllowEndNodeUnWalkable bool
iCrossCorner bool
iCrossAdjacentPoint bool
iMode HeuristicMode
return System

JumpPointParam() public method

public JumpPointParam ( JumpPointParam b ) : System
b JumpPointParam
return System

Reset() public method

public Reset ( GridPos iStartPos, GridPos iEndPos, BaseGrid iSearchGrid = null ) : void
iStartPos GridPos
iEndPos GridPos
iSearchGrid BaseGrid
return void

SetHeuristic() public method

public SetHeuristic ( HeuristicMode iMode ) : void
iMode HeuristicMode
return void

Property Details

m_allowEndNodeUnWalkable protected_oe property

protected bool m_allowEndNodeUnWalkable
return bool

m_crossAdjacentPoint protected_oe property

protected bool m_crossAdjacentPoint
return bool

m_crossCorner protected_oe property

protected bool m_crossCorner
return bool

m_endNode protected_oe property

protected Node m_endNode
return Node

m_heuristic protected_oe property

protected HeuristicDelegate m_heuristic
return HeuristicDelegate

m_searchGrid protected_oe property

protected BaseGrid m_searchGrid
return BaseGrid

m_startNode protected_oe property

protected Node m_startNode
return Node

m_useRecursive protected_oe property

protected bool m_useRecursive
return bool

openList public_oe property

public List openList
return List