X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbeatcounter.h;h=98af61b025bb9b12d0c31eb5810ed4726c7959a1;hb=02613d179c906075a0ad05a3aae46b3811f322aa;hp=856c8d7d7f2b4bd5fb4e2e4600701a0d6835c574;hpb=35332818fc6bad98fe77831de2c51a11326e31aa;p=libs%2Fdemoscene.git diff --git a/source/beatcounter.h b/source/beatcounter.h index 856c8d7..98af61b 100644 --- a/source/beatcounter.h +++ b/source/beatcounter.h @@ -5,20 +5,29 @@ #include #include #include -#include "sequencer.h" +#include "resources.h" +#include "action.h" -class BeatCounter: public Msp::GL::Renderable, public Sequencer::Action +namespace Msp { +namespace DemoScene { + +class BeatCounter: public Msp::GL::Renderable, public Action { private: Msp::GL::Text text; Msp::GL::ObjectInstance instance; public: - BeatCounter(Msp::DataFile::Collection &); + BeatCounter(Resources &); + + virtual void validate() const { } virtual void beat(int); virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const; }; +} // namespace DemoScene +} // namespace Msp + #endif