]> git.localhorst.tv Git - blank.git/blobdiff - src/app/FPSController.hpp
group entity updates in as few packets as possible
[blank.git] / src / app / FPSController.hpp
index 01c745120d579aa209efc550987be912facc3e10..ee10691ec3660cf78f8eb2b21b4927feadee4176 100644 (file)
@@ -17,6 +17,10 @@ class FPSController {
 
 public:
        explicit FPSController(Entity &) noexcept;
+       ~FPSController();
+
+       Entity &Controlled() noexcept { return entity; }
+       const Entity &Controlled() const noexcept { return entity; }
 
        /// get position and face direction of controlled entity
        Ray Aim() const noexcept { return entity.Aim(entity.ChunkCoords()); }