diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 21:05:36 +0800 |
commit | 52097b6ee7cc8f5a770eb851902560b5b8592218 (patch) | |
tree | 6dcbb53ac0104912e950747a37aac6b25039e862 /meta/3rd/Cocos4.0/ccs.ActionFrame.lua | |
parent | 6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff) | |
download | lua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip |
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/ccs.ActionFrame.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/ccs.ActionFrame.lua | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/ccs.ActionFrame.lua b/meta/3rd/Cocos4.0/ccs.ActionFrame.lua new file mode 100644 index 00000000..029ab3c1 --- /dev/null +++ b/meta/3rd/Cocos4.0/ccs.ActionFrame.lua @@ -0,0 +1,58 @@ + +---@class ccs.ActionFrame :cc.Ref +local ActionFrame={ } +ccs.ActionFrame=ActionFrame + + + + +---@overload fun(float:float,ccs.ActionFrame:ccs.ActionFrame):self +---@overload fun(float:float):self +---@param duration float +---@param srcFrame ccs.ActionFrame +---@return cc.ActionInterval +function ActionFrame:getAction (duration,srcFrame) end +---* Gets the type of action frame<br> +---* return the type of action frame +---@return int +function ActionFrame:getFrameType () end +---* Changes the time of action frame<br> +---* param fTime the time of action frame +---@param fTime float +---@return self +function ActionFrame:setFrameTime (fTime) end +---* Changes the easing type.<br> +---* param easingType the easing type. +---@param easingType int +---@return self +function ActionFrame:setEasingType (easingType) end +---* Gets the time of action frame<br> +---* return fTime the time of action frame +---@return float +function ActionFrame:getFrameTime () end +---* Gets the index of action frame<br> +---* return the index of action frame +---@return int +function ActionFrame:getFrameIndex () end +---* Changes the type of action frame<br> +---* param frameType the type of action frame +---@param frameType int +---@return self +function ActionFrame:setFrameType (frameType) end +---* Changes the index of action frame<br> +---* param index the index of action frame +---@param index int +---@return self +function ActionFrame:setFrameIndex (index) end +---* Set the ActionInterval easing parameter.<br> +---* param parameter the parameter for frame ease +---@param parameter array_table +---@return self +function ActionFrame:setEasingParameter (parameter) end +---* Gets the easing type.<br> +---* return the easing type. +---@return int +function ActionFrame:getEasingType () end +---* Default constructor +---@return self +function ActionFrame:ActionFrame () end
\ No newline at end of file |