diff options
author | Masy98 <masy@antheruscraft.de> | 2014-10-01 19:23:43 +0200 |
---|---|---|
committer | Masy98 <masy@antheruscraft.de> | 2014-10-01 19:23:43 +0200 |
commit | d37b047ebeb8b61c7af36d954f89bbe8cabe35d4 (patch) | |
tree | e7960a666620af6e3bcc22c43c15b4f7de808a59 /src/Entities/Player.h | |
parent | Fixed Red Sandstone and Prismarine drops (diff) | |
parent | Merge pull request #1493 from Masy98/blocks (diff) | |
download | cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.gz cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.bz2 cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.lz cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.xz cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.tar.zst cuberite-d37b047ebeb8b61c7af36d954f89bbe8cabe35d4.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index ffd0b7e03..22d6a2ae2 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -182,11 +182,11 @@ public: /** Sets the player team, NULL if none */ void SetTeam(cTeam * a_Team); + // tolua_end + /** Forces the player to query the scoreboard for his team */ cTeam * UpdateTeam(void); - // tolua_end - /** Return the associated statistic and achievement manager. */ cStatManager & GetStatManager() { return m_Stats; } @@ -421,9 +421,13 @@ public: /** Sets the player's bed (home) position */ void SetBedPos(const Vector3i & a_Pos) { m_LastBedPos = a_Pos; } + + // tolua_end /** Update movement-related statistics. */ void UpdateMovementStats(const Vector3d & a_DeltaPos); + + // tolua_begin /** Returns wheter the player can fly or not. */ virtual bool CanFly(void) const { return m_CanFly; } |