2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ActionFrame
|
|
|
|
-- @extend Ref
|
|
|
|
-- @parent_module ccs
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, float, ccs.ActionFrame
|
|
|
|
-- @overload self, float
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] getAction
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #ccs.ActionFrame srcFrame
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets the type of action frame<br>
|
|
|
|
-- return the type of action frame
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] getFrameType
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Changes the time of action frame<br>
|
|
|
|
-- param fTime the time of action frame
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] setFrameTime
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float fTime
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Changes the easing type.<br>
|
|
|
|
-- param easingType the easing type.
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] setEasingType
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int easingType
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets the time of action frame<br>
|
|
|
|
-- return fTime the time of action frame
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] getFrameTime
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets the index of action frame<br>
|
|
|
|
-- return the index of action frame
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] getFrameIndex
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Changes the type of action frame<br>
|
|
|
|
-- param frameType the type of action frame
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] setFrameType
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int frameType
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Changes the index of action frame<br>
|
|
|
|
-- param index the index of action frame
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] setFrameIndex
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int index
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Set the ActionInterval easing parameter.<br>
|
|
|
|
-- parame parameter the parameter for frame ease
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] setEasingParameter
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #array_table parameter
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets the easing type.<br>
|
|
|
|
-- return the easing type.
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] getEasingType
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Default constructor
|
2014-06-26 11:10:44 +08:00
|
|
|
-- @function [parent=#ActionFrame] ActionFrame
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ActionFrame#ActionFrame self (return value: ccs.ActionFrame)
|
2014-06-26 11:10:44 +08:00
|
|
|
|
|
|
|
return nil
|