X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FMasterState.hpp;h=959af6269c7cfd805f854f108ec67cf1c6a00e1a;hb=c51b3bbef5c9b8ab52f55d46f08c5992fe574f70;hp=d2072ee326c27a30683a18558ff2d6c3de7194d1;hpb=cacc0641e5174d8b46e7a7086be6a45c87ab3642;p=blobs.git diff --git a/src/app/MasterState.hpp b/src/app/MasterState.hpp index d2072ee..959af62 100644 --- a/src/app/MasterState.hpp +++ b/src/app/MasterState.hpp @@ -5,6 +5,7 @@ #include "Assets.hpp" #include "../graphics/Camera.hpp" +#include "../ui/CreaturePanel.hpp" namespace blobs { @@ -31,6 +32,9 @@ public: graphics::Camera &GetCamera() noexcept { return cam; } const graphics::Camera &GetCamera() const noexcept { return cam; } + ui::CreaturePanel &GetCreaturePanel() noexcept { return cp; } + const ui::CreaturePanel &GetCreaturePanel() const noexcept { return cp; } + private: void OnResize(int w, int h) override; @@ -47,6 +51,7 @@ private: world::Simulation ∼ graphics::Camera cam; + ui::CreaturePanel cp; int remain; int thirds;