]> git.localhorst.tv Git - blank.git/blobdiff - src/app/FPSController.hpp
move RandomWalk into new "ai" module
[blank.git] / src / app / FPSController.hpp
index 01c745120d579aa209efc550987be912facc3e10..a7b11a417eff960fb31a6504e12c592439a48b1f 100644 (file)
@@ -18,6 +18,9 @@ class FPSController {
 public:
        explicit FPSController(Entity &) noexcept;
 
+       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()); }