X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FMasterState.hpp;h=8290e86886b53d59c246ea36d076c34acadf4dfd;hb=d921cba26f21e4a75b22f5e9d9be988707bf6a8f;hp=24a29e696463e960918708f1be4151e4429b2de7;hpb=dd8b3145a03ed676b0ae6311c29fc3d68f666b15;p=blobs.git 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;