1 #ifndef BLOBS_UI_BODYPANEL_HPP_
2 #define BLOBS_UI_BODYPANEL_HPP_
23 explicit BodyPanel(app::Assets &);
26 BodyPanel(const BodyPanel &) = delete;
27 BodyPanel &operator =(const BodyPanel &) = delete;
29 BodyPanel(BodyPanel &&) = delete;
30 BodyPanel &operator =(BodyPanel &&) = delete;
33 void Show(world::Body &);
36 bool Shown() const noexcept { return body; }
37 const world::Body &GetBody() const noexcept { return *body; }
39 void ZIndex(float z) noexcept { panel.ZIndex(z); }
41 void Draw(graphics::Viewport &) noexcept;