]> Dogcows Code - chaz/yoink/blobdiff - src/TitleLayer.hh
sockets documentation and cleanup
[chaz/yoink] / src / TitleLayer.hh
index 90041ee5b7a6b6482f793281d106bd33886e7ca1..e2b74d37e2ce2802f2e9fbdfc83b05ad9150bbb9 100644 (file)
 #include <boost/shared_ptr.hpp>
 
 #include <Moof/Interpolator.hh>
-#include <Moof/Layer.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 Mf::View
 {
 public:
 
@@ -31,7 +31,7 @@ public:
                return TitleLayerP(new TitleLayer);
        }
 
-       void addedToCore();
+       void didAddToView();
 
        void update(Mf::Scalar t, Mf::Scalar dt);
        void draw(Mf::Scalar alpha) const;
@@ -40,7 +40,7 @@ public:
 private:
 
        Mf::Lerp                mFadeIn;
-       Mf::LayerP              mGameLayer;
+       Mf::ViewP               mGameLayer;
 };
 
 
This page took 0.016884 seconds and 4 git commands to generate.