C# Class Pathfinding.GridNode

Inheritance: GridNodeBase
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
connectionCosts uint[]
connections Pathfinding.GraphNode[]

Protected Properties

Property Type Description
gridFlags ushort
nodeInGridIndex int

Public Methods

Method Description
AddConnection ( GraphNode node, uint cost ) : void
FloodFill ( Stack stack, uint region ) : void
GetConnections ( GraphNodeDelegate del ) : void
GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
GridNode ( AstarPath astar ) : System
RemoveConnection ( GraphNode node ) : void

Private Methods

Method Description
GetIndex ( ) : int

Method Details

AddConnection() public method

public AddConnection ( GraphNode node, uint cost ) : void
node GraphNode
cost uint
return void

FloodFill() public method

public FloodFill ( Stack stack, uint region ) : void
stack Stack
region uint
return void

GetConnections() public method

public GetConnections ( GraphNodeDelegate del ) : void
del GraphNodeDelegate
return void

GetPortal() public method

public GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
other GraphNode
left List
right List
backwards bool
return bool

GridNode() public method

public GridNode ( AstarPath astar ) : System
astar AstarPath
return System

RemoveConnection() public method

public RemoveConnection ( GraphNode node ) : void
node GraphNode
return void

Property Details

connectionCosts public_oe property

public uint[] connectionCosts
return uint[]

connections public_oe property

public GraphNode[],Pathfinding connections
return Pathfinding.GraphNode[]

gridFlags protected_oe property

protected ushort gridFlags
return ushort

nodeInGridIndex protected_oe property

protected int nodeInGridIndex
return int