2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Blink
|
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
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes the action <br>
|
|
|
|
-- param duration in seconds
|
|
|
|
-- @function [parent=#Blink] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float duration
|
|
|
|
-- @param #int blinks
|
|
|
|
-- @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 blinks Blink times.<br>
|
|
|
|
-- return An autoreleased Blink object.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Blink] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #int blinks
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return Blink#Blink ret (return value: cc.Blink)
|
|
|
|
|
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=#Blink] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Blink#Blink self (return value: cc.Blink)
|
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=#Blink] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return Blink#Blink ret (return value: cc.Blink)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Blink] stop
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Blink#Blink self (return value: cc.Blink)
|
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=#Blink] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return Blink#Blink ret (return value: cc.Blink)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- param time In seconds.
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Blink] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Blink#Blink self (return value: cc.Blink)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Blink] Blink
|
|
|
|
-- @param self
|
|
|
|
-- @return Blink#Blink self (return value: cc.Blink)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|