]> git.localhorst.tv Git - blobs.git/blobdiff - src/ui/CreaturePanel.hpp
track creature with camera
[blobs.git] / src / ui / CreaturePanel.hpp
index 3a33b8ccff1ba8006ac6f4e2aa42c5e18662970b..b8a7bf602890af49c3a752939f41e79d34e3374a 100644 (file)
@@ -35,6 +35,9 @@ public:
        void Show(creature::Creature &);
        void Hide() noexcept;
 
+       bool Shown() const noexcept { return c; }
+       const creature::Creature &GetCreature() const noexcept { return *c; }
+
        void Draw(app::Assets &, graphics::Viewport &) noexcept;
 
 private:
@@ -45,6 +48,11 @@ private:
        creature::Creature *c;
 
        Label *name;
+       Label *age;
+       Label *mass;
+       Label *pos;
+       Label *tile;
+       Label *goal;
        Panel *needs;
        Panel panel;