2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module JumpTo
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend JumpBy
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes the action<br>
|
|
|
|
-- param duration In seconds.
|
|
|
|
-- @function [parent=#JumpTo] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float duration
|
|
|
|
-- @param #vec2_table position
|
|
|
|
-- @param #float height
|
|
|
|
-- @param #int jumps
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- Creates the action.<br>
|
|
|
|
-- param duration Duration time, in seconds.<br>
|
|
|
|
-- param position The jumping destination position.<br>
|
|
|
|
-- param height The jumping height.<br>
|
|
|
|
-- param jumps The jumping times.<br>
|
|
|
|
-- return An autoreleased JumpTo object.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#JumpTo] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #vec2_table position
|
|
|
|
-- @param #float height
|
|
|
|
-- @param #int jumps
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return JumpTo#JumpTo ret (return value: cc.JumpTo)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#JumpTo] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return JumpTo#JumpTo self (return value: cc.JumpTo)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#JumpTo] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return JumpTo#JumpTo ret (return value: cc.JumpTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#JumpTo] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return JumpTo#JumpTo ret (return value: cc.JumpTo)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#JumpTo] JumpTo
|
|
|
|
-- @param self
|
|
|
|
-- @return JumpTo#JumpTo self (return value: cc.JumpTo)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|