Projects > cpp > Issues > Refactor #1606

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Return CCSequence pointer for CCSequence::create.

Refactor #1606 [Closed]
dumganhar 2012-12-10 04:01 . Updated about 6 years ago

This can avoid force cast the return pointer of <code>CCSequence::create</code> to <code>CCActionInterval**</code>.
For example:
CCAction** action2 = CCRepeatForever::create(
(CCActionInterval*)(CCSequence::create((CCActionInterval*)(a1->copy()~~>autorelease), a1~~>reverse(), NULL))

CCSpawn also needs to be refactored.

dumganhar 2012-12-10 08:14
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:25297bca7b518a94247aeb74bc5d7300758ba2bc.

Atom PDF

Start date:2012-12-10
Due date:
% Done:


Target version:cocos2d-2.1beta3-x-2.1.1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.