mirror of https://github.com/axmolengine/axmol.git
49 lines
1.3 KiB
Lua
49 lines
1.3 KiB
Lua
|
|
--------------------------------
|
|
-- @module JumpBy
|
|
-- @extend ActionInterval
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- Creates the action.<br>
|
|
-- param duration Duration time, in seconds.<br>
|
|
-- param position The jumping distance.<br>
|
|
-- param height The jumping height.<br>
|
|
-- param jumps The jumping times.<br>
|
|
-- return An autoreleased JumpBy object.
|
|
-- @function [parent=#JumpBy] create
|
|
-- @param self
|
|
-- @param #float duration
|
|
-- @param #vec2_table position
|
|
-- @param #float height
|
|
-- @param #int jumps
|
|
-- @return JumpBy#JumpBy ret (return value: cc.JumpBy)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#JumpBy] startWithTarget
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return JumpBy#JumpBy self (return value: cc.JumpBy)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#JumpBy] clone
|
|
-- @param self
|
|
-- @return JumpBy#JumpBy ret (return value: cc.JumpBy)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#JumpBy] reverse
|
|
-- @param self
|
|
-- @return JumpBy#JumpBy ret (return value: cc.JumpBy)
|
|
|
|
--------------------------------
|
|
-- param time In seconds.
|
|
-- @function [parent=#JumpBy] update
|
|
-- @param self
|
|
-- @param #float time
|
|
-- @return JumpBy#JumpBy self (return value: cc.JumpBy)
|
|
|
|
return nil
|