X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHud.hh;h=0bc0a4676b12aad08a58053cb99fda89e1147418;hp=bc8a313100e79d30315640e2eaac6ec78aab077f;hb=c78934a448d0126709fccec3d5a636b3baa87da4;hpb=76b3f4be992514a740ac03cdbdd57844142a0b4c diff --git a/src/Hud.hh b/src/Hud.hh index bc8a313..0bc0a46 100644 --- a/src/Hud.hh +++ b/src/Hud.hh @@ -18,10 +18,10 @@ */ #include -#include #include //#include #include +#include #include "GameState.hh" @@ -58,16 +58,16 @@ private: class Hud; typedef boost::shared_ptr 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) {