X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FPlayerController.hpp;h=9b4057b380d02c7a20582763103dc877580857fe;hb=bc2806164f55b7ac48dbb6d224b7d4b55683decf;hp=b29795b7313cf9cb5b8d2308e72cfcfa0f03a182;hpb=c1da86ebab41895bf49ed747c75ecf722e8c5586;p=blank.git diff --git a/src/ui/PlayerController.hpp b/src/ui/PlayerController.hpp index b29795b..9b4057b 100644 --- a/src/ui/PlayerController.hpp +++ b/src/ui/PlayerController.hpp @@ -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; }