X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHud.hh;h=016767a5a8ba48ee97bff20743c16645c3eab692;hp=d3675a476c85b62dcb5782256dd2856bfce9f506;hb=a295f8def17036c8071b56e181364f99a377cae7;hpb=b357615aba1dbde81e3c6999366604e6001010a7 diff --git a/src/Hud.hh b/src/Hud.hh index d3675a4..016767a 100644 --- a/src/Hud.hh +++ b/src/Hud.hh @@ -39,7 +39,7 @@ #include #include -#include "GameLayer.hh" +#include "GameState.hh" #include "Tilemap.hh" @@ -77,9 +77,9 @@ class Hud : public Mf::Layer { public: - Hud(GameLayer::State& state); + Hud(GameState& state); - static HudP alloc(GameLayer::State& state) + static HudP alloc(GameState& state) { return HudP(new Hud(state)); } @@ -106,7 +106,7 @@ public: private: - GameLayer::State& mState; + GameState& mState; ProgressBar mBar1; ProgressBar mBar2;