summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-19 21:47:48 +0200
committerSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-19 21:47:48 +0200
commit395f3d9c4c94428bc6ec0b90c907567a368f068f (patch)
tree31838705d2b711cf1261b6912b6bdcb127545802 /src/Mobs
parentRemoved UniquePTR from PathFinder (diff)
downloadcuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.tar
cuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.tar.gz
cuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.tar.bz2
cuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.tar.lz
cuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.tar.xz
cuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.tar.zst
cuberite-395f3d9c4c94428bc6ec0b90c907567a368f068f.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Path.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Mobs/Path.h b/src/Mobs/Path.h
index b3ad5ffd5..acc56ef2d 100644
--- a/src/Mobs/Path.h
+++ b/src/Mobs/Path.h
@@ -33,12 +33,21 @@ struct cPathCell
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.
};
+
+
+
+
+
class compareHeuristics
{
public:
bool operator()(cPathCell * & a_V1, cPathCell * & a_V2);
};
+
+
+
+
class cPath
{
public: