We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Return CCSequence pointer for CCSequence::create.
Return CCSequence pointer for CCSequence::create.
Refactor #1606 [Closed]
Status: | Closed | |
---|---|---|
Start date: | 2012-12-10 | |
Priority: | Normal | |
Due date: | ||
Assignee: | dumganhar | |
% Done: | 100% |
|
Category: | all | |
Target version: | cocos2d-2.1beta3-x-2.1.1 |
This can avoid force cast the return pointer of <code>CCSequence::create</code> to <code>CCActionInterval**</code>.
For example:
<pre>
CCAction** action2 = CCRepeatForever::create(
(CCActionInterval*)(CCSequence::create((CCActionInterval*)(a1->copy()~~>autorelease), a1~~>reverse(), NULL))
);
</pre>
CCSpawn also needs to be refactored.