*/
#include <Moof/Drawable.hh>
-#include <Moof/Layer.hh>
#include <Moof/Math.hh>
//#include <Moof/Rectangle.hh>
#include <Moof/Texture.hh>
+#include <Moof/View.hh>
#include "GameState.hh"
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)
{