#ifndef BLOBS_UI_CREATUREPANEL_HPP_
#define BLOBS_UI_CREATUREPANEL_HPP_
-#include "Label.hpp"
+#include "Panel.hpp"
namespace blobs {
}
namespace ui {
+class Label;
+class Meter;
+
class CreaturePanel {
public:
void Draw(app::Assets &, graphics::Viewport &) noexcept;
private:
+ void CreateNeeds();
+
+private:
+ const app::Assets &assets;
creature::Creature *c;
- Label name;
+ Label *name;
+ Label *age;
+ Label *mass;
+ Label *goal;
+ Panel *needs;
+ Panel panel;
+
+ Meter *health_meter;
+ std::vector<Meter *> need_meters;
};