#ifndef BLANK_UI_PLAYERCONTROLLER_HPP_
#define BLANK_UI_PLAYERCONTROLLER_HPP_
-#include <glm/glm.hpp>
-
+#include "../graphics/glm.hpp"
#include "../world/EntityCollision.hpp"
#include "../world/EntityController.hpp"
#include "../world/WorldCollision.hpp"
public:
PlayerController(World &, Player &);
+ ~PlayerController();
World &GetWorld() noexcept { return world; }
const World &GetWorld() const noexcept { return world; }
void SetMovement(const glm::vec3 &) noexcept;
const glm::vec3 &GetMovement() const noexcept { return move_dir; }
- glm::vec3 ControlForce(const EntityState &) const override;
-
/// turn the controlled entity's head by given pitch and yaw deltas
void TurnHead(float pitch, float yaw) noexcept;