diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua b/meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua new file mode 100644 index 00000000..1443e921 --- /dev/null +++ b/meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua @@ -0,0 +1,59 @@ +---@meta + +---@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 |