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>
11 class BeatCounter: public Msp::GL::Renderable, public Action
15 Msp::GL::ObjectInstance instance;
18 BeatCounter(Resources &);
20 virtual void validate() const { }
22 virtual void beat(int);
24 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;