#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:
return TitleLayerP(new TitleLayer);
}
- void addedToCore();
+ void didAddToView();
void update(Mf::Scalar t, Mf::Scalar dt);
void draw(Mf::Scalar alpha) const;
private:
Mf::Lerp mFadeIn;
- Mf::LayerP mGameLayer;
+ Mf::ViewP mGameLayer;
};