2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module TintTo
|
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 with duration and color
|
|
|
|
-- @function [parent=#TintTo] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float duration
|
|
|
|
-- @param #unsigned char red
|
|
|
|
-- @param #unsigned char green
|
|
|
|
-- @param #unsigned char blue
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-01-14 17:19:31 +08:00
|
|
|
-- @overload self, float, color3b_table
|
|
|
|
-- @overload self, float, unsigned char, unsigned char, unsigned char
|
|
|
|
-- @function [parent=#TintTo] create
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #unsigned char red
|
|
|
|
-- @param #unsigned char green
|
|
|
|
-- @param #unsigned char blue
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return TintTo#TintTo ret (return value: cc.TintTo)
|
2015-01-14 17:19:31 +08:00
|
|
|
|
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=#TintTo] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TintTo#TintTo self (return value: cc.TintTo)
|
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=#TintTo] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return TintTo#TintTo ret (return value: cc.TintTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#TintTo] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return TintTo#TintTo ret (return value: cc.TintTo)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-18 22:02:42 +08:00
|
|
|
-- param time In seconds.
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#TintTo] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TintTo#TintTo self (return value: cc.TintTo)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#TintTo] TintTo
|
|
|
|
-- @param self
|
|
|
|
-- @return TintTo#TintTo self (return value: cc.TintTo)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|