#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"
{
public:
- ProgressBar(const moof::texture& tilemap, int index);
+ ProgressBar(const moof::sprite& tilemap, int index);
void resize(const moof::rectangle& rect);
moof::vector2 mVertices[8];
moof::scalar mWidth;
- moof::texture mTilemap;
+ moof::sprite mTilemap;
moof::scalar mTexCoords[8];
moof::scalar mMidCoords[2];
};
ProgressBar mBar2;
unsigned mNumber;
- moof::texture mFont;
+ moof::sprite mFont;
moof::matrix4 mProjection;
};