]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/PlayerController.hpp
brought some order to the whole controller thing
[blank.git] / src / ui / PlayerController.hpp
index 22454133bd3c6971bec4f7ff9f3d65786653df13..9d54c295d944706fca27198d071eec5461a6b725 100644 (file)
@@ -34,7 +34,7 @@ public:
        void SetMovement(const glm::vec3 &) noexcept;
        const glm::vec3 &GetMovement() const noexcept { return move_dir; }
 
-       glm::vec3 ControlForce(const EntityState &) const override;
+       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;