]> Dogcows Code - chaz/yoink/blobdiff - src/Hud.hh
sockets documentation and cleanup
[chaz/yoink] / src / Hud.hh
index 30b5a42be36cae2d195372d6c762399dd59d34c0..0bc0a4676b12aad08a58053cb99fda89e1147418 100644 (file)
  */
 
 #include <Moof/Drawable.hh>
-#include <Moof/Layer.hh>
 #include <Moof/Math.hh>
-#include <Moof/Rectangle.hh>
+//#include <Moof/Rectangle.hh>
 #include <Moof/Texture.hh>
+#include <Moof/View.hh>
 
 #include "GameState.hh"
 
 
+class Rectangle;
+
 // TODO this stuff is still just hacked up
 
 class ProgressBar : public Mf::Drawable
@@ -56,16 +58,16 @@ private:
 class Hud;
 typedef boost::shared_ptr<Hud> HudP;
 
-class Hud : public Mf::Layer
+class Hud : public Mf::View
 {
 public:
 
-       Hud(GameState& state);
-
        static HudP alloc(GameState& state)
        {
                return HudP(new Hud(state));
        }
+       Hud(GameState& state);
+
 
        void setBar1Progress(Mf::Scalar progress)
        {
This page took 0.019515 seconds and 4 git commands to generate.