]> Dogcows Code - chaz/yoink/blobdiff - src/Hud.hh
dispatch class not a singleton, engine is static
[chaz/yoink] / src / Hud.hh
index d3675a476c85b62dcb5782256dd2856bfce9f506..016767a5a8ba48ee97bff20743c16645c3eab692 100644 (file)
@@ -39,7 +39,7 @@
 #include <Moof/Math.hh>
 #include <Moof/Rectangle.hh>
 
-#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;
This page took 0.021232 seconds and 4 git commands to generate.