@nightrobin wrote:
Good day,
I have this:
void TheClass:Method1() { cocos2d::MoveBy* moveAction = cocos2d::MoveBy::create( 3, cocos2d::Vec2( 0, 10 ) ); cocos2d::Sequence* theSequence = cocos2d::Sequence::create(moveAction, TheClass:Method2, nullptr); someSprite->runAction(theSequence); } void TheClass:Method2() { // run some code }
Why can't I run this?
I am using coco2d-x ver 3.8.
Thank you
Posts: 4
Participants: 3