mirror of https://github.com/axmolengine/axmol.git
85 lines
2.5 KiB
Lua
85 lines
2.5 KiB
Lua
|
|
--------------------------------
|
|
-- @module ActionFrame
|
|
-- @extend Ref
|
|
-- @parent_module ccs
|
|
|
|
--------------------------------
|
|
-- @overload self, float, ccs.ActionFrame
|
|
-- @overload self, float
|
|
-- @function [parent=#ActionFrame] getAction
|
|
-- @param self
|
|
-- @param #float duration
|
|
-- @param #ccs.ActionFrame srcFrame
|
|
-- @return ActionInterval#ActionInterval ret (retunr value: cc.ActionInterval)
|
|
|
|
--------------------------------
|
|
-- Gets the type of action frame<br>
|
|
-- return the type of action frame
|
|
-- @function [parent=#ActionFrame] getFrameType
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- Changes the time of action frame<br>
|
|
-- param fTime the time of action frame
|
|
-- @function [parent=#ActionFrame] setFrameTime
|
|
-- @param self
|
|
-- @param #float fTime
|
|
|
|
--------------------------------
|
|
-- Changes the easing type.<br>
|
|
-- param easingType the easing type.
|
|
-- @function [parent=#ActionFrame] setEasingType
|
|
-- @param self
|
|
-- @param #int easingType
|
|
|
|
--------------------------------
|
|
-- Gets the time of action frame<br>
|
|
-- return fTime the time of action frame
|
|
-- @function [parent=#ActionFrame] getFrameTime
|
|
-- @param self
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
-- Gets the index of action frame<br>
|
|
-- return the index of action frame
|
|
-- @function [parent=#ActionFrame] getFrameIndex
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- Changes the type of action frame<br>
|
|
-- param frameType the type of action frame
|
|
-- @function [parent=#ActionFrame] setFrameType
|
|
-- @param self
|
|
-- @param #int frameType
|
|
|
|
--------------------------------
|
|
-- Changes the index of action frame<br>
|
|
-- param index the index of action frame
|
|
-- @function [parent=#ActionFrame] setFrameIndex
|
|
-- @param self
|
|
-- @param #int index
|
|
|
|
--------------------------------
|
|
-- Set the ActionInterval easing parameter.<br>
|
|
-- parame parameter the parameter for frame ease
|
|
-- @function [parent=#ActionFrame] setEasingParameter
|
|
-- @param self
|
|
-- @param #array_table parameter
|
|
|
|
--------------------------------
|
|
-- Gets the easing type.<br>
|
|
-- return the easing type.
|
|
-- @function [parent=#ActionFrame] getEasingType
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- Default constructor
|
|
-- @function [parent=#ActionFrame] ActionFrame
|
|
-- @param self
|
|
|
|
return nil
|