boom->runAction(CCSequence::create(CCAnimate::create(boomAnimation),
CCCallFuncN::create(this, callfuncN_selector(GameObjEnemy::restart)), NULL));
callfuncN_selector类型转换无效
解决办法:
void GameObjEnemy::restart( )
{
}
改为
void GameObjEnemy::restart(CCNode *pSender)
{
}