]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/beatcounter.h
Allow stages to define actions
[libs/demoscene.git] / source / beatcounter.h
index 84e8dd1bac34f3cf9bf6d2b18118a8e631a78c57..ed0dd27609cfe1c071e24f035e8958d75c96565c 100644 (file)
@@ -8,6 +8,9 @@
 #include "resources.h"
 #include "action.h"
 
+namespace Msp {
+namespace DemoScene {
+
 class BeatCounter: public Msp::GL::Renderable, public Action
 {
 private:
@@ -17,9 +20,15 @@ private:
 public:
        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