X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FCreaturePanel.hpp;h=be1234828384d3f8a80901ae0f2d917dd8a73ca5;hb=1f8fe0fd81053821f26787e9809cd1a13f747819;hp=573804dff897ba09dcf926da90ffaee5c48d2d2c;hpb=392826deaf802ac0960ed3924a3f98b9d18d381b;p=blobs.git diff --git a/src/ui/CreaturePanel.hpp b/src/ui/CreaturePanel.hpp index 573804d..be12348 100644 --- a/src/ui/CreaturePanel.hpp +++ b/src/ui/CreaturePanel.hpp @@ -40,6 +40,8 @@ public: bool Shown() const noexcept { return c; } const creature::Creature &GetCreature() const noexcept { return *c; } + void ZIndex(float z) noexcept { panel.ZIndex(z); } + void Draw(graphics::Viewport &) noexcept; private: @@ -52,10 +54,13 @@ private: Label *age; Label *mass; Label *goal; + Label *pos; + Label *tile; + Label *head; Panel *composition; std::vector