C# Class AStarCollisionMap.Pathfinding.PathfindingNodeManager

Show file Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Properties

Property Type Description
nodeLock object

Private Properties

Property Type Description
PathfindingNodeManager System

Public Methods

Method Description
AddNode ( AStarCollisionMap.Pathfinding.PathfindingNode node ) : void

Adds a node to the list.

ClearNodes ( ) : void

Clears the nodes

GetInstance ( ) : PathfindingNodeManager

Gets the instance of this PathfindingNodeManager.

GetNodeAt ( int i ) : AStarCollisionMap.Pathfinding.PathfindingNode

Gets a node at a position in the array.

GetNodeCount ( ) : int

Gets the node count.

RemoveNode ( AStarCollisionMap.Pathfinding.PathfindingNode node ) : void

Removes a node

Private Methods

Method Description
PathfindingNodeManager ( ) : System

Method Details

AddNode() public method

Adds a node to the list.
public AddNode ( AStarCollisionMap.Pathfinding.PathfindingNode node ) : void
node AStarCollisionMap.Pathfinding.PathfindingNode The node
return void

ClearNodes() public method

Clears the nodes
public ClearNodes ( ) : void
return void

GetInstance() public static method

Gets the instance of this PathfindingNodeManager.
public static GetInstance ( ) : PathfindingNodeManager
return PathfindingNodeManager

GetNodeAt() public method

Gets a node at a position in the array.
public GetNodeAt ( int i ) : AStarCollisionMap.Pathfinding.PathfindingNode
i int
return AStarCollisionMap.Pathfinding.PathfindingNode

GetNodeCount() public method

Gets the node count.
public GetNodeCount ( ) : int
return int

RemoveNode() public method

Removes a node
public RemoveNode ( AStarCollisionMap.Pathfinding.PathfindingNode node ) : void
node AStarCollisionMap.Pathfinding.PathfindingNode
return void

Property Details

nodeLock public property

public object nodeLock
return object