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