X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fapp%2FMasterState.hpp;h=8290e86886b53d59c246ea36d076c34acadf4dfd;hp=24a29e696463e960918708f1be4151e4429b2de7;hb=392826deaf802ac0960ed3924a3f98b9d18d381b;hpb=b4deadd9f4e399207e2530ea39a447c0d9d260a3 diff --git a/src/app/MasterState.hpp b/src/app/MasterState.hpp index 24a29e6..8290e86 100644 --- a/src/app/MasterState.hpp +++ b/src/app/MasterState.hpp @@ -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;