summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-05-20 14:52:59 +0200
committerandrew <xdotftw@gmail.com>2014-05-20 14:52:59 +0200
commit07baf9bdd3b04e3aec6e77f367eb38c0547f54ca (patch)
tree3d4c9f2202d7d9fae351e462701ddfa819d49489 /src/Entities/Player.h
parentThere's no "round" function in MSVC2008. (diff)
downloadcuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.tar
cuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.tar.gz
cuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.tar.bz2
cuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.tar.lz
cuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.tar.xz
cuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.tar.zst
cuberite-07baf9bdd3b04e3aec6e77f367eb38c0547f54ca.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