]> Dogcows Code - chaz/yoink/blobdiff - src/Hud.hh
converted image management to resource handles
[chaz/yoink] / src / Hud.hh
index 7cf2504b7d4a376fe1888d25c3b76acda7542c84..1bb557633c6d73581d3d91b2336d7e5c2120cc8e 100644 (file)
@@ -20,7 +20,7 @@
 #include <moof/drawable.hh>
 #include <moof/math.hh>
 //#include <moof/rectangle.hh>
-#include <moof/texture.hh>
+#include <moof/sprite.hh>
 #include <moof/view.hh>
 
 #include "GameState.hh"
@@ -34,7 +34,7 @@ class ProgressBar : public moof::drawable
 {
 public:
 
-       ProgressBar(const moof::texture& tilemap, int index);
+       ProgressBar(const moof::sprite& tilemap, int index);
 
        void resize(const moof::rectangle& rect);
 
@@ -49,7 +49,7 @@ private:
        moof::vector2   mVertices[8];
        moof::scalar    mWidth;
 
-       moof::texture   mTilemap;
+       moof::sprite    mTilemap;
        moof::scalar    mTexCoords[8];
        moof::scalar    mMidCoords[2];
 };
@@ -97,7 +97,7 @@ private:
        ProgressBar     mBar2;
 
        unsigned        mNumber;
-       moof::texture   mFont;
+       moof::sprite    mFont;
 
        moof::matrix4   mProjection;
 };
This page took 0.020235 seconds and 4 git commands to generate.