您的位置:首页 > 其它

CCArmature动画播放完后执行回调函数的方法

2014-03-07 17:28 211 查看
m_armSpring = CCArmature::create("tanhuang");
m_armSpring->getAnimation()->setMovementEventCallFunc(this,movementEvent_selector(PaySpringLayer::StopArmature));

void PaySpringLayer::StopArmature( cocos2d::extension::CCArmature *armature, MovementEventType movementType, const char *movementID )

{
if (movementType == COMPLETE)
{
........
}

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: