]> Dogcows Code - chaz/yoink/blobdiff - src/TitleLayer.hh
cade lab fixes
[chaz/yoink] / src / TitleLayer.hh
index da4b4c5a5b2b712b01e8239976a2be8c1963f4bd..fe745ee7a4656a83542060db08767613d96ef11b 100644 (file)
 class TitleLayer;
 typedef boost::shared_ptr<TitleLayer> TitleLayerP;
 
-struct TitleLayer : public Mf::Layer
+class TitleLayer : public Mf::Layer
 {
+public:
+
        static TitleLayerP alloc()
        {
                return TitleLayerP(new TitleLayer);
        }
 
-       void pushed(Mf::Engine& engine);
+       void addedToCore();
 
        void update(Mf::Scalar t, Mf::Scalar dt);
        void draw(Mf::Scalar alpha) const;
@@ -54,10 +56,8 @@ struct TitleLayer : public Mf::Layer
 
 private:
 
-       Mf::Lerp fadeIn;
-       Mf::Engine* engine;
-
-       Mf::LayerP gameLayer;
+       Mf::Lerp                mFadeIn;
+       Mf::LayerP              mGameLayer;
 };
 
 
This page took 0.020923 seconds and 4 git commands to generate.