X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbeatcounter.h;h=ed0dd27609cfe1c071e24f035e8958d75c96565c;hb=HEAD;hp=952ed6b0460869dd2af309257fb7336501e65cb7;hpb=8ffa42fba0e6a13286b465473fd399cac7c77dcf;p=libs%2Fdemoscene.git diff --git a/source/beatcounter.h b/source/beatcounter.h index 952ed6b..ed0dd27 100644 --- a/source/beatcounter.h +++ b/source/beatcounter.h @@ -5,8 +5,12 @@ #include #include #include +#include "resources.h" #include "action.h" +namespace Msp { +namespace DemoScene { + class BeatCounter: public Msp::GL::Renderable, public Action { private: @@ -14,11 +18,17 @@ private: Msp::GL::ObjectInstance instance; public: - BeatCounter(Msp::DataFile::Collection &); + BeatCounter(Resources &); + + void set_matrix(const Msp::GL::Matrix &); + virtual void validate() const { } virtual void beat(int); virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const; }; +} // namespace DemoScene +} // namespace Msp + #endif