My Project
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
IAStarNode Interface Reference

Interface required for objects to be used with the AStar path finding class. More...

Public Member Functions

IEnumerable< IAStarNodeGetConnectedNodes ()
 Gets all nodes that are connected to this node. More...
 
float CalculateMoveCost (IAStarNode node)
 Calculates the estimated move cost to another node. More...
 

Detailed Description

Interface required for objects to be used with the AStar path finding class.

Member Function Documentation

float IAStarNode.CalculateMoveCost ( IAStarNode  node)

Calculates the estimated move cost to another node.

Returns
The move cost.
Parameters
nodeNode.
IEnumerable<IAStarNode> IAStarNode.GetConnectedNodes ( )

Gets all nodes that are connected to this node.

Returns
The connected nodes.

The documentation for this interface was generated from the following file: