X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHud.hh;h=1bb557633c6d73581d3d91b2336d7e5c2120cc8e;hp=7cf2504b7d4a376fe1888d25c3b76acda7542c84;hb=382626aad0a683ed8642a6a807eea743db45f7f8;hpb=1da520638918096276158ecdfaeebc14a3d70be7 diff --git a/src/Hud.hh b/src/Hud.hh index 7cf2504..1bb5576 100644 --- a/src/Hud.hh +++ b/src/Hud.hh @@ -20,7 +20,7 @@ #include #include //#include -#include +#include #include #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; };