mirror of https://github.com/axmolengine/axmol.git
61 lines
1.6 KiB
Lua
61 lines
1.6 KiB
Lua
|
|
--------------------------------
|
|
-- @module TintTo
|
|
-- @extend ActionInterval
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- 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)
|
|
|
|
--------------------------------
|
|
-- @overload self, float, color3b_table
|
|
-- @overload self, float, unsigned char, unsigned char, unsigned char
|
|
-- @function [parent=#TintTo] create
|
|
-- @param self
|
|
-- @param #float duration
|
|
-- @param #unsigned char red
|
|
-- @param #unsigned char green
|
|
-- @param #unsigned char blue
|
|
-- @return TintTo#TintTo ret (return value: cc.TintTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#TintTo] startWithTarget
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return TintTo#TintTo self (return value: cc.TintTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#TintTo] clone
|
|
-- @param self
|
|
-- @return TintTo#TintTo ret (return value: cc.TintTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#TintTo] reverse
|
|
-- @param self
|
|
-- @return TintTo#TintTo ret (return value: cc.TintTo)
|
|
|
|
--------------------------------
|
|
-- param time In seconds.
|
|
-- @function [parent=#TintTo] update
|
|
-- @param self
|
|
-- @param #float time
|
|
-- @return TintTo#TintTo self (return value: cc.TintTo)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#TintTo] TintTo
|
|
-- @param self
|
|
-- @return TintTo#TintTo self (return value: cc.TintTo)
|
|
|
|
return nil
|