]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/MasterState.hpp
basic info box
[blobs.git] / src / app / MasterState.hpp
index d2072ee326c27a30683a18558ff2d6c3de7194d1..959af6269c7cfd805f854f108ec67cf1c6a00e1a 100644 (file)
@@ -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;