]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/MasterState.hpp
track a few things
[blobs.git] / src / app / MasterState.hpp
index 24a29e696463e960918708f1be4151e4429b2de7..8290e86886b53d59c246ea36d076c34acadf4dfd 100644 (file)
@@ -6,6 +6,8 @@
 #include "Assets.hpp"
 #include "../graphics/Camera.hpp"
 #include "../ui/CreaturePanel.hpp"
+#include "../ui/RecordsPanel.hpp"
+#include "../ui/TimePanel.hpp"
 
 
 namespace blobs {
@@ -35,6 +37,12 @@ public:
        ui::CreaturePanel &GetCreaturePanel() noexcept { return cp; }
        const ui::CreaturePanel &GetCreaturePanel() const noexcept { return cp; }
 
+       ui::RecordsPanel &GetRecordsPanel() noexcept { return rp; }
+       const ui::RecordsPanel &GetRecordsPanel() const noexcept { return rp; }
+
+       ui::TimePanel &GetTimePanel() noexcept { return tp; }
+       const ui::TimePanel &GetTimePanel() const noexcept { return tp; }
+
 private:
        void OnResize(int w, int h) override;
 
@@ -61,6 +69,8 @@ private:
        bool cam_dragging;
 
        ui::CreaturePanel cp;
+       ui::RecordsPanel rp;
+       ui::TimePanel tp;
 
        int remain;
        int thirds;