C# Class Pathfinding.GridNode

Inheritance: GridNodeBase
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
connectionCosts uint[]
connections Pathfinding.GraphNode[]

Protected Properties

Свойство Type Description
gridFlags ushort
nodeInGridIndex int

Méthodes publiques

Méthode 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

Méthode Description
GetIndex ( ) : int

Method Details

AddConnection() public méthode

public AddConnection ( GraphNode node, uint cost ) : void
node GraphNode
cost uint
Résultat void

FloodFill() public méthode

public FloodFill ( Stack stack, uint region ) : void
stack Stack
region uint
Résultat void

GetConnections() public méthode

public GetConnections ( GraphNodeDelegate del ) : void
del GraphNodeDelegate
Résultat void

GetPortal() public méthode

public GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
other GraphNode
left List
right List
backwards bool
Résultat bool

GridNode() public méthode

public GridNode ( AstarPath astar ) : System
astar AstarPath
Résultat System

RemoveConnection() public méthode

public RemoveConnection ( GraphNode node ) : void
node GraphNode
Résultat void

Property Details

connectionCosts public_oe property

public uint[] connectionCosts
Résultat uint[]

connections public_oe property

public GraphNode[],Pathfinding connections
Résultat Pathfinding.GraphNode[]

gridFlags protected_oe property

protected ushort gridFlags
Résultat ushort

nodeInGridIndex protected_oe property

protected int nodeInGridIndex
Résultat int