X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FTitleLayer.hh;h=e2b74d37e2ce2802f2e9fbdfc83b05ad9150bbb9;hb=cf4c819df08e2ab6c06532d8a4467fa58b2792ae;hp=90041ee5b7a6b6482f793281d106bd33886e7ca1;hpb=837bae9f2bf7b25e1d3d2625eeaf39c1d2f48827;p=chaz%2Fyoink 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; };