X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FPlayerController.hpp;h=48c3bdcfbc51ff07e65ca1779735a03becac584c;hb=242b87a5fb412f9006e4b7debc1408cf7ac83000;hp=9d54c295d944706fca27198d071eec5461a6b725;hpb=0ab149c70b3f984b2cc0c7a122b4aa347bc5fd79;p=blank.git diff --git a/src/ui/PlayerController.hpp b/src/ui/PlayerController.hpp index 9d54c29..48c3bdc 100644 --- a/src/ui/PlayerController.hpp +++ b/src/ui/PlayerController.hpp @@ -18,6 +18,7 @@ class PlayerController public: PlayerController(World &, Player &); + ~PlayerController(); World &GetWorld() noexcept { return world; } const World &GetWorld() const noexcept { return world; } @@ -34,8 +35,6 @@ public: void SetMovement(const glm::vec3 &) noexcept; const glm::vec3 &GetMovement() const noexcept { return move_dir; } - glm::vec3 ControlForce(const Entity &, const EntityState &) const override; - /// turn the controlled entity's head by given pitch and yaw deltas void TurnHead(float pitch, float yaw) noexcept;