mirror of https://github.com/axmolengine/axmol.git
Fix: Application::setAnimationInterval() not implemented.
This commit is contained in:
parent
bc5f4d9d59
commit
44c675f9ee
|
@ -68,7 +68,16 @@ int Application::run()
|
||||||
|
|
||||||
void Application::setAnimationInterval(double interval)
|
void Application::setAnimationInterval(double interval)
|
||||||
{
|
{
|
||||||
// NYI
|
JniMethodInfo methodInfo;
|
||||||
|
if (! JniHelper::getStaticMethodInfo(methodInfo, "org/cocos2dx/lib/Cocos2dxRenderer", "setAnimationInterval",
|
||||||
|
"(D)V"))
|
||||||
|
{
|
||||||
|
CCLOG("%s %d: error to get methodInfo", __FILE__, __LINE__);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
methodInfo.env->CallStaticVoidMethod(methodInfo.classID, methodInfo.methodID, interval);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue