I’ve made my actions as data members of my layer class. When I call stopAllActions() on a specified sprite, the actions just stop.
I want the actions to be restored to the initial state, because when I run them again, they continue the rest of the action.
I’m not talking about CCAnimation, but CCAction.
I can’t find any method for doing this in CCAction class and its children.
How?