*******************************************************************************/
-#include <Moof/Engine.hh>
+#include <Moof/Core.hh>
#include <Moof/OpenGL.hh>
#include <Moof/Transition.hh>
#include "TitleLayer.hh"
-void TitleLayer::pushedOntoEngine()
+void TitleLayer::addedToCore()
{
Mf::Scalar coeff[] = {0.0, 1.0};
mFadeIn.init(coeff, 0.1);
//break;
//}
- Mf::LayerP titleLayer = Mf::engine.pop(this);
- //engine.pushLayer(GameLayer::alloc());
+ Mf::LayerP titleLayer = Mf::core.pop(this);
+ //core.pushLayer(GameLayer::alloc());
Mf::Scalar coeff[] = {0.0, 0.75, 0.99, 1.0};
Mf::PolynomialInterpolator<3> interp(coeff, 0.1);
//Mf::LayerP mGameLayer = GameLayer::alloc();
Mf::Transition<Mf::PolynomialInterpolator<3> >::Ptr transition =
Mf::Transition<Mf::PolynomialInterpolator<3> >::alloc(mGameLayer, titleLayer, interp);
- Mf::engine.push(transition);
+ Mf::core.push(transition);
return true;
}