2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module CardinalSplineTo
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionInterval
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#CardinalSplineTo] getPoints
|
|
|
|
-- @param self
|
|
|
|
-- @return point_table#point_table ret (return value: point_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#CardinalSplineTo] updatePosition
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table newPos
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-01-20 16:17:36 +08:00
|
|
|
-- initializes the action with a duration and an array of points<br>
|
|
|
|
-- param duration in seconds
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#CardinalSplineTo] initWithDuration
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #point_table points
|
|
|
|
-- @param #float tension
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
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=#CardinalSplineTo] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
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=#CardinalSplineTo] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return CardinalSplineTo#CardinalSplineTo ret (return value: cc.CardinalSplineTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#CardinalSplineTo] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return CardinalSplineTo#CardinalSplineTo ret (return value: cc.CardinalSplineTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-01-20 16:17:36 +08:00
|
|
|
-- param time in seconds.
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#CardinalSplineTo] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- js NA<br>
|
|
|
|
-- lua NA
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#CardinalSplineTo] CardinalSplineTo
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|