2013年10月24日

error C2440:“类型转换":无法从“void (__thiscall Play1::* )(int *)”转换为“cocos2d::SEL_CallFucN

摘要: 转自:http://zhidao.baidu.com/link?url=VfSSkA0xfTVwNKaKh4tqW_sXlcsK-Rb16nEtQw5zaq5_306lnwJN3Kdb-rFp-r4LbhEXhPaoLPW9vVUDefvUFa【问题】:错误在call2函数的第三行。在actionWithTarget(this,callfuncN_selector(Play1::call3));这里,我想回调call3,取一个随机的值。可是好像因为类型问题,一直不行。求帮忙!!!【回答】:callfuncN_selector里面函数参数是规定的,一定要是CCNode*void Play1::c 阅读全文

posted @ 2013-10-24 14:00 王培 阅读(326) 评论(0) 推荐(0) 编辑

导航