Hello!
I would like to use a CCSequence to create a CCRepeatForever action, using the following:
CCRepeatForever::actionWithAction(CCSequence::actions(some, actions, nil));
However, I get the following compile error:
cocos2d::CCRepeatForever::actionWithAction’ : cannot convert parameter 1 from ‘cocos2d::CCFiniteTimeAction ’ to ’cocos2d::CCActionInterval’
Is there any workaround for this? Obviously CCFiniteTimeAction and CCActionInterval are both actions, and both implement some of the needed API used inside of CCRepeatForever, such as getDuration() and reverse(). Perhaps an intermediary class is in order?
It would appear that this is possible in cocos2d-iphone, no doubt using some of the crazy objective-c magic…
Thanks,
Isaac