2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module RepeatForever
|
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
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- Sets the inner action.<br>
|
|
|
|
-- param action The inner action.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RepeatForever] setInnerAction
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.ActionInterval action
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes the action
|
|
|
|
-- @function [parent=#RepeatForever] initWithAction
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.ActionInterval action
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- Gets the inner action.<br>
|
|
|
|
-- return The inner action.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RepeatForever] getInnerAction
|
|
|
|
-- @param self
|
|
|
|
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- Creates the action.<br>
|
|
|
|
-- param action The action need to repeat forever.<br>
|
|
|
|
-- return An autoreleased RepeatForever object.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#RepeatForever] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.ActionInterval action
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return RepeatForever#RepeatForever ret (return value: cc.RepeatForever)
|
|
|
|
|
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=#RepeatForever] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever)
|
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=#RepeatForever] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return RepeatForever#RepeatForever ret (return value: cc.RepeatForever)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#RepeatForever] isDone
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#RepeatForever] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return RepeatForever#RepeatForever ret (return value: cc.RepeatForever)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- param dt In seconds.
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#RepeatForever] step
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float dt
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#RepeatForever] RepeatForever
|
|
|
|
-- @param self
|
|
|
|
-- @return RepeatForever#RepeatForever self (return value: cc.RepeatForever)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|