diff options
author | Howaner <franzi.moos@googlemail.com> | 2015-02-06 21:40:20 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2015-02-07 10:45:45 +0100 |
commit | 9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d (patch) | |
tree | 1de94ba92b51b5362c4a6b8878aa07ca10df223e /src/Entities/Entity.h | |
parent | Switched LuaState to use sizeof... (diff) | |
download | cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.tar cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.tar.gz cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.tar.bz2 cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.tar.lz cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.tar.xz cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.tar.zst cuberite-9b9ce6fa3b13cb00e380664a2b51e51ffb209b7d.zip |
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index de9b88dfb..4a819fa4a 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -443,6 +443,9 @@ public: /** Set the invulnerable ticks from the entity */ void SetInvulnerableTicks(int a_InvulnerableTicks) { m_InvulnerableTicks = a_InvulnerableTicks; } + + /** Returns whether the player is on ground or not */ + bool IsOnGround(void) const { return m_bOnGround; } // tolua_end |