I want to use
The reference say:
Detailed Description CCFiniteTimeAction cocos2d-x Reference
Base class actions that do have a finite time duration.
An action with a duration of 0 seconds
An action with a duration of 35.5 seconds
Infinite time actions are valid
I will put:
CCFiniteTimeAction *myInfAction = CCFiniteTimeAction();
And I will edit virtual void update to make my own calculation.
But, How I add a infinite time duration without use a big number like 999999?