summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ocelot.h
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2017-08-17 16:29:43 +0200
committerMattes D <github@xoft.cz>2017-08-17 16:29:43 +0200
commit05045860c2002e3c9a79d90290f4d65fdd171141 (patch)
tree0265750956435f284d5b9c499dbbe5c90231db73 /src/Mobs/Ocelot.h
parentAdd cLuaWindow OnClicked Callback (#3901) (diff)
downloadcuberite-05045860c2002e3c9a79d90290f4d65fdd171141.tar
cuberite-05045860c2002e3c9a79d90290f4d65fdd171141.tar.gz
cuberite-05045860c2002e3c9a79d90290f4d65fdd171141.tar.bz2
cuberite-05045860c2002e3c9a79d90290f4d65fdd171141.tar.lz
cuberite-05045860c2002e3c9a79d90290f4d65fdd171141.tar.xz
cuberite-05045860c2002e3c9a79d90290f4d65fdd171141.tar.zst
cuberite-05045860c2002e3c9a79d90290f4d65fdd171141.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Ocelot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Ocelot.h b/src/Mobs/Ocelot.h
index 5729851fe..59b4f25af 100644
--- a/src/Mobs/Ocelot.h
+++ b/src/Mobs/Ocelot.h
@@ -54,6 +54,9 @@ public:
}
void SetCatType (eCatType a_CatType) { m_CatType = a_CatType; }
+ /** Returns true if there's a cat sitting above the given position */
+ static bool IsCatSittingOnBlock(cWorld * a_World, Vector3d a_BlockPosition);
+
protected:
bool m_IsSitting;