4 #include "TiledGraphNode.h"
5 #include "TiledGraphEdge.h"
15 , m_costToTraverseEdge(0.f)
25 float costToTraverseEdge,
31 : m_graphEdgeId(graphEdgeId)
33 , m_costToTraverseEdge(costToTraverseEdge)
42 const int Prior()
const {
return m_prior; }
43 float GetCostToTraverseEdge()
const {
return m_costToTraverseEdge; }
44 float F()
const {
return m_f; }
45 float G()
const {
return m_g; }
46 float H()
const {
return m_h; }
47 bool IsClosed()
const {
return m_closed; }
49 void Close() { m_closed =
true; }
50 void Update(
int prior,
float g)
61 float m_costToTraverseEdge;