Procedural Hexagon Grid Framework
 All Classes Namespaces Functions
PHG.SearchNode Class Reference

Search Node class, used for pathfinding algorithm to store data. More...

Public Member Functions

 SearchNode (Node node)
 Initialize the Search Node.
 

Public Attributes

Node node
 
SearchNode parent
 
float cost = 0
 
float distanceToGoal = float.MaxValue
 
float distanceTraveled = float.MaxValue
 
bool inOpenList = false
 
bool inClosedList = false
 

Static Public Attributes

static Dictionary< Vector3,
SearchNode
nodes = new Dictionary<Vector3, SearchNode>()
 

Detailed Description

Search Node class, used for pathfinding algorithm to store data.


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