diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-15 18:54:54 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-15 18:54:54 +0100 |
commit | 0efd74f114dad98c4fadc0318718f2e0203bca8b (patch) | |
tree | 1211414d56a59c73d61c1d6cf7c1b9765f40fbbb /src/Entities/Player.h | |
parent | APIDump: Documented New functions (diff) | |
download | cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.tar cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.tar.gz cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.tar.bz2 cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.tar.lz cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.tar.xz cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.tar.zst cuberite-0efd74f114dad98c4fadc0318718f2e0203bca8b.zip |
Diffstat (limited to 'src/Entities/Player.h')
-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..8dc6968ff 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); + /// "Shoots" the player in the given direction. + void ShootTo(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 |