From 8fefb8f3e100976235dc83d6ae3785952d11c710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 5 Jul 2021 20:51:43 +0800 Subject: cleanup --- meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua | 59 +++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua (limited to 'meta/3rd/Cocos4.0/library/ccs.ActionFrame.lua') 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
+---* return the type of action frame +---@return int +function ActionFrame:getFrameType () end +---* Changes the time of action frame
+---* param fTime the time of action frame +---@param fTime float +---@return self +function ActionFrame:setFrameTime (fTime) end +---* Changes the easing type.
+---* param easingType the easing type. +---@param easingType int +---@return self +function ActionFrame:setEasingType (easingType) end +---* Gets the time of action frame
+---* return fTime the time of action frame +---@return float +function ActionFrame:getFrameTime () end +---* Gets the index of action frame
+---* return the index of action frame +---@return int +function ActionFrame:getFrameIndex () end +---* Changes the type of action frame
+---* param frameType the type of action frame +---@param frameType int +---@return self +function ActionFrame:setFrameType (frameType) end +---* Changes the index of action frame
+---* param index the index of action frame +---@param index int +---@return self +function ActionFrame:setFrameIndex (index) end +---* Set the ActionInterval easing parameter.
+---* param parameter the parameter for frame ease +---@param parameter array_table +---@return self +function ActionFrame:setEasingParameter (parameter) end +---* Gets the easing type.
+---* return the easing type. +---@return int +function ActionFrame:getEasingType () end +---* Default constructor +---@return self +function ActionFrame:ActionFrame () end \ No newline at end of file -- cgit v1.2.3