]> git.localhorst.tv Git - blobs.git/blobdiff - src/ui/CreaturePanel.hpp
fix resource locator
[blobs.git] / src / ui / CreaturePanel.hpp
index a487b1a1637878c4c526ddd9c208061f3b1582d3..e3df0417ce68f81e980bb192f31d332bf2652f98 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef BLOBS_UI_CREATUREPANEL_HPP_
 #define BLOBS_UI_CREATUREPANEL_HPP_
 
-#include "Label.hpp"
 #include "Panel.hpp"
 
 
@@ -17,6 +16,9 @@ namespace graphics {
 }
 namespace ui {
 
+class Label;
+class Meter;
+
 class CreaturePanel {
 
 public:
@@ -36,11 +38,24 @@ public:
        void Draw(app::Assets &, graphics::Viewport &) noexcept;
 
 private:
+       void CreateNeeds();
+
+private:
+       const app::Assets &assets;
        creature::Creature *c;
 
        Label *name;
+       Label *age;
+       Label *mass;
+       Label *pos;
+       Label *tile;
+       Label *goal;
+       Panel *needs;
        Panel panel;
 
+       Meter *health_meter;
+       std::vector<Meter *> need_meters;
+
 };
 
 }