]> Dogcows Code - chaz/yoink/blobdiff - src/TitleLayer.hh
initial runloop implementation
[chaz/yoink] / src / TitleLayer.hh
index 90041ee5b7a6b6482f793281d106bd33886e7ca1..be8aba131033b99519818e6de46218fb05d57e00 100644 (file)
 
 #include <boost/shared_ptr.hpp>
 
-#include <Moof/Interpolator.hh>
-#include <Moof/Layer.hh>
-#include <Moof/Math.hh>
+#include <moof/interpolator.hh>
+#include <moof/math.hh>
+#include <moof/view.hh>
 
 
 class TitleLayer;
 typedef boost::shared_ptr<TitleLayer> TitleLayerP;
 
-class TitleLayer : public Mf::Layer
+class TitleLayer : public moof::view
 {
 public:
 
@@ -31,16 +31,16 @@ public:
                return TitleLayerP(new TitleLayer);
        }
 
-       void addedToCore();
+       void did_add_to_view();
 
-       void update(Mf::Scalar t, Mf::Scalar dt);
-       void draw(Mf::Scalar alpha) const;
-       bool handleEvent(const Mf::Event& event);
+       void update(moof::scalar t, moof::scalar dt);
+       void draw(moof::scalar alpha) const;
+       bool handle_event(const moof::event& event);
 
 private:
 
-       Mf::Lerp                mFadeIn;
-       Mf::LayerP              mGameLayer;
+       moof::lerp_scalar               mFadeIn;
+       moof::view_ptr          mGameLayer;
 };
 
 
This page took 0.021447 seconds and 4 git commands to generate.