HI, I’m getting a compile error in Android where the same code compiles in Xcode with the arguments for callfuncO_selector()
CCCallFuncO* call = CCCallFuncO::create(piece, callfuncO_selector(GamePiece::setAnimation), state);
and the error is
jni/../../Classes/GameAction.cpp:682: error: address of overloaded function with no contextual type information
GamePiece::setAnimation
is defined as
void setAnimation(CCObject* state);
so what do I need to do here?