X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fui%2FCreaturePanel.hpp;h=b8a7bf602890af49c3a752939f41e79d34e3374a;hp=e3df0417ce68f81e980bb192f31d332bf2652f98;hb=e0180e01f4c659c97973f585fea5eb3344254ce0;hpb=b0e73e632f0b681a0af78f889dd82d370563944a diff --git a/src/ui/CreaturePanel.hpp b/src/ui/CreaturePanel.hpp index e3df041..b8a7bf6 100644 --- a/src/ui/CreaturePanel.hpp +++ b/src/ui/CreaturePanel.hpp @@ -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: