Hover* Hover::createWithSpriteFrameName(const std::string frameName) { Hover* pHover = new Hover(); pHover->initWithSpriteFrameName(frameName); pHover->autorelease(); return pHover; }
Hover* Hover::create(float duration, float distance) { Hover* action = new Hover(); action->initWithDuration(duration, distance); action->autorelease(); return action; }