summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-23 11:25:42 +0200
committerMattes D <github@xoft.cz>2014-05-23 11:25:42 +0200
commit64dbc45a00b0c8d24a48293cbd3ff116d7b51735 (patch)
tree857bbe55266e9cc97eb8fc836698692bda51f221 /src/Entities/Player.h
parentUpdated plains village prefabs. (diff)
parentFixed profiling flags for MSVC. (diff)
downloadcuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.tar
cuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.tar.gz
cuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.tar.bz2
cuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.tar.lz
cuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.tar.xz
cuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.tar.zst
cuberite-64dbc45a00b0c8d24a48293cbd3ff116d7b51735.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