2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ActionInterval
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend FiniteTimeAction
|
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
|
|
|
--------------------------------
|
2015-09-22 17:23:14 +08:00
|
|
|
-- Gets the amplitude rate, extension in GridAction<br>
|
|
|
|
-- return The amplitude rate.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ActionInterval] getAmplitudeRate
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes the action
|
|
|
|
-- @function [parent=#ActionInterval] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float d
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-09-22 17:23:14 +08:00
|
|
|
-- Sets the amplitude rate, extension in GridAction<br>
|
|
|
|
-- param amp The amplitude rate.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ActionInterval] setAmplitudeRate
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float amp
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionInterval#ActionInterval self (return value: cc.ActionInterval)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- How many seconds had elapsed since the actions started to run.<br>
|
2015-09-22 17:23:14 +08:00
|
|
|
-- return The seconds had elapsed since the actions started to run.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ActionInterval] getElapsed
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
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=#ActionInterval] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionInterval#ActionInterval self (return value: cc.ActionInterval)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-01-20 16:17:36 +08:00
|
|
|
-- param dt in seconds
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ActionInterval] step
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float dt
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionInterval#ActionInterval self (return value: cc.ActionInterval)
|
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=#ActionInterval] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ActionInterval] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ActionInterval] isDone
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|