C# Class AStarCollisionMap.Pathfinding.PathfindingNodeManager

Afficher le fichier Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Méthodes publiques

Свойство Type Description
nodeLock object

Private Properties

Свойство Type Description
PathfindingNodeManager System

Méthodes publiques

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

Méthode Description
PathfindingNodeManager ( ) : System

Method Details

AddNode() public méthode

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

ClearNodes() public méthode

Clears the nodes
public ClearNodes ( ) : void
Résultat void

GetInstance() public static méthode

Gets the instance of this PathfindingNodeManager.
public static GetInstance ( ) : PathfindingNodeManager
Résultat PathfindingNodeManager

GetNodeAt() public méthode

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

GetNodeCount() public méthode

Gets the node count.
public GetNodeCount ( ) : int
Résultat int

RemoveNode() public méthode

Removes a node
public RemoveNode ( AStarCollisionMap.Pathfinding.PathfindingNode node ) : void
node AStarCollisionMap.Pathfinding.PathfindingNode
Résultat void

Property Details

nodeLock public_oe property

public object nodeLock
Résultat object