Repeat *Repeat::create(FiniteTimeAction *action, unsigned int times)
{
    Repeat *repeat = new(std::nothrow) Repeat();
    repeat->initWithAction(action, times);

    return repeat;
}
Exemple #2
0
Repeat* Repeat::create(FiniteTimeAction *pAction, unsigned int times)
{
    Repeat* pRepeat = new Repeat();
    pRepeat->initWithAction(pAction, times);
    pRepeat->autorelease();

    return pRepeat;
}