]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/MasterState.hpp
allow clicking celestial bodies
[blobs.git] / src / app / MasterState.hpp
index 24a29e696463e960918708f1be4151e4429b2de7..7521d8e4c0eacd1bba0a64aae26c0e87253c15cc 100644 (file)
@@ -5,7 +5,10 @@
 
 #include "Assets.hpp"
 #include "../graphics/Camera.hpp"
+#include "../ui/BodyPanel.hpp"
 #include "../ui/CreaturePanel.hpp"
+#include "../ui/RecordsPanel.hpp"
+#include "../ui/TimePanel.hpp"
 
 
 namespace blobs {
@@ -35,6 +38,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;
 
@@ -60,7 +69,10 @@ private:
        glm::dvec3 cam_orient;
        bool cam_dragging;
 
+       ui::BodyPanel bp;
        ui::CreaturePanel cp;
+       ui::RecordsPanel rp;
+       ui::TimePanel tp;
 
        int remain;
        int thirds;