]> git.localhorst.tv Git - blank.git/blobdiff - src/ui/PlayerController.hpp
also simulate world collisions in replay
[blank.git] / src / ui / PlayerController.hpp
index b29795b7313cf9cb5b8d2308e72cfcfa0f03a182..9b4057b380d02c7a20582763103dc877580857fe 100644 (file)
@@ -17,6 +17,8 @@ class PlayerController {
 public:
        PlayerController(World &, Player &);
 
+       World &GetWorld() noexcept { return world; }
+       const World &GetWorld() const noexcept { return world; }
        Player &GetPlayer() noexcept { return player; }
        const Player &GetPlayer() const noexcept { return player; }