]> git.localhorst.tv Git - blobs.git/blobdiff - src/ui/CreaturePanel.hpp
track creature with camera
[blobs.git] / src / ui / CreaturePanel.hpp
index e3df0417ce68f81e980bb192f31d332bf2652f98..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: