// // JumpBy // CCJumpBy* CCJumpBy::actionWithDuration(cocos2d::ccTime duration, cocos2d::CGPoint position, cocos2d::ccTime height, int jumps) { CCJumpBy *pJumpBy = new CCJumpBy(); pJumpBy->initWithDuration(duration, position, height, jumps); pJumpBy->autorelease(); return pJumpBy; }
// // JumpBy // CCJumpBy* CCJumpBy::actionWithDuration(ccTime duration, const CCPoint& position, ccTime height, unsigned int jumps) { CCJumpBy *pJumpBy = new CCJumpBy(); pJumpBy->initWithDuration(duration, position, height, jumps); pJumpBy->autorelease(); return pJumpBy; }
// // JumpBy // CCJumpBy* CCJumpBy::create(float duration, const CCPoint& position, float height, unsigned int jumps) { CCJumpBy *pJumpBy = new CCJumpBy(); pJumpBy->initWithDuration(duration, position, height, jumps); pJumpBy->autorelease(); return pJumpBy; }