1 #ifndef MSP_DEMOSCENE_BEATCOUNTER_H_
2 #define MSP_DEMOSCENE_BEATCOUNTER_H_
4 #include <msp/datafile/collection.h>
5 #include <msp/gl/objectinstance.h>
6 #include <msp/gl/renderable.h>
7 #include <msp/gl/text.h>
14 class BeatCounter: public Msp::GL::Renderable, public Action
18 Msp::GL::ObjectInstance instance;
21 BeatCounter(Resources &);
23 virtual void validate() const { }
25 virtual void beat(int);
27 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
30 } // namespace DemoScene