]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Layer.hh
fixed permissions for stlplus files
[chaz/yoink] / src / Moof / Layer.hh
index 8ec678d6b26fa0decfbbaac39f0ad5e83eef709a..9ba428899c6461060dacfbd97c0b0b2806c1ca30 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <boost/shared_ptr.hpp>
 
-#include <Moof/Drawable.hh>
 #include <Moof/Event.hh>
 #include <Moof/Math.hh>
 
@@ -43,16 +42,21 @@ namespace Mf {
 class Engine;
 
 
-struct Layer : public Drawable
+class Layer
 {
+public:
+
        virtual ~Layer() {}
 
        virtual void pushed(Engine& engine) {}
        virtual void popped(Engine& engine) {}
 
-       virtual void update(Scalar t, Scalar dt) {}
-       virtual void draw(Scalar alpha) const {}
-       virtual bool handleEvent(const Event& event) { return false; }
+       virtual void update(Engine& engine, Scalar t, Scalar dt) {}
+       virtual void draw(Engine& engine, Scalar alpha) const {}
+       virtual bool handleEvent(Engine& engine, const Event& event)
+       {
+               return false;
+       }
 };
 
 typedef boost::shared_ptr<Layer> LayerP;
This page took 0.016806 seconds and 4 git commands to generate.