1 #ifndef BLOBS_UI_CREATUREPANEL_HPP_
2 #define BLOBS_UI_CREATUREPANEL_HPP_
27 explicit CreaturePanel(app::Assets &);
30 CreaturePanel(const CreaturePanel &) = delete;
31 CreaturePanel &operator =(const CreaturePanel &) = delete;
33 CreaturePanel(CreaturePanel &&) = delete;
34 CreaturePanel &operator =(CreaturePanel &&) = delete;
37 void Show(creature::Creature &);
40 bool Shown() const noexcept { return c; }
41 const creature::Creature &GetCreature() const noexcept { return *c; }
43 void ZIndex(float z) noexcept { panel.ZIndex(z); }
45 void Draw(graphics::Viewport &) noexcept;
49 creature::Creature *c;
62 std::vector<Label *> components;