X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FTitleLayer.hh;h=e2b74d37e2ce2802f2e9fbdfc83b05ad9150bbb9;hp=90041ee5b7a6b6482f793281d106bd33886e7ca1;hb=c78934a448d0126709fccec3d5a636b3baa87da4;hpb=837bae9f2bf7b25e1d3d2625eeaf39c1d2f48827 diff --git a/src/TitleLayer.hh b/src/TitleLayer.hh index 90041ee..e2b74d3 100644 --- a/src/TitleLayer.hh +++ b/src/TitleLayer.hh @@ -15,14 +15,14 @@ #include #include -#include #include +#include class TitleLayer; typedef boost::shared_ptr 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; };