summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorxdot <xdotftw@gmail.com>2014-05-21 10:14:44 +0200
committerxdot <xdotftw@gmail.com>2014-05-21 10:14:44 +0200
commit671c73c6396a1d5ec00bdf6578745b05a1c6ac83 (patch)
tree42aa3b9000120d4a8dcb9cb6625063adf49d4b61 /src/Entities/Player.h
parentFixed MCADefrag compilation. (diff)
parentFixed cWither::KilledBy (diff)
downloadcuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.tar
cuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.tar.gz
cuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.tar.bz2
cuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.tar.lz
cuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.tar.xz
cuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.tar.zst
cuberite-671c73c6396a1d5ec00bdf6578745b05a1c6ac83.zip
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 78b534d83..b7cb27d6c 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -127,6 +127,9 @@ public:
inline const cItem & GetEquippedItem(void) const { return GetInventory().GetEquippedItem(); } // tolua_export
+ /** Returns whether the player is climbing (ladders, vines e.t.c). */
+ bool IsClimbing(void) const;
+
virtual void TeleportToCoords(double a_PosX, double a_PosY, double a_PosZ) override;
// tolua_begin