diff options
author | STRWarrior <STRWarrior@users.noreply.github.com> | 2013-12-15 21:05:18 +0100 |
---|---|---|
committer | STRWarrior <STRWarrior@users.noreply.github.com> | 2013-12-15 21:05:18 +0100 |
commit | 9b8112dbc2db44456aaec8471c14e5fb6aa04a4d (patch) | |
tree | c213af4ffb1e053a3e58f6122abbd31b00759477 /src/Entities/Player.h | |
parent | Fixed player spawning packet. (diff) | |
parent | Documented ForceSetSpeed. (diff) | |
download | cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.gz cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.bz2 cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.lz cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.xz cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.zst cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index f3ee841e7..a09f7f489 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -167,6 +167,9 @@ public: // Sets the current gamemode, doesn't check validity, doesn't send update packets to client void LoginSetGameMode(eGameMode a_GameMode); + /// Forces the player to move in the given direction. + void ForceSetSpeed(Vector3d a_Direction); // tolua_export + /// Tries to move to a new position, with attachment-related checks (y == -999) void MoveTo(const Vector3d & a_NewPos); // tolua_export |