1
0
This commit is contained in:
SafwatHalaby 2015-05-19 22:47:48 +03:00
parent 0741ad3526
commit 395f3d9c4c

View File

@ -33,12 +33,21 @@ struct cPathCell
cPathCell * m_Parent; // Cell's parent, as defined in regular A*. cPathCell * m_Parent; // Cell's parent, as defined in regular A*.
bool m_IsSolid; // Is the cell an air or a solid? Partial solids are currently considered solids. bool m_IsSolid; // Is the cell an air or a solid? Partial solids are currently considered solids.
}; };
class compareHeuristics class compareHeuristics
{ {
public: public:
bool operator()(cPathCell * & a_V1, cPathCell * & a_V2); bool operator()(cPathCell * & a_V1, cPathCell * & a_V2);
}; };
class cPath class cPath
{ {
public: public: