summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/GridAction.lua
blob: c74cdb175a3a840de7dd2ea3919f6643f4179f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---@meta

---@class cc.GridAction :cc.ActionInterval
local GridAction={ }
cc.GridAction=GridAction




---* brief Get the pointer of GridBase.<br>
---* return The pointer of GridBase.
---@return cc.GridBase
function GridAction:getGrid () end
---* brief Initializes the action with size and duration.<br>
---* param duration The duration of the GridAction. It's a value in seconds.<br>
---* param gridSize The size of the GridAction should be.<br>
---* return Return true when the initialization success, otherwise return false.
---@param duration float
---@param gridSize size_table
---@return boolean
function GridAction:initWithDuration (duration,gridSize) end
---* 
---@param target cc.Node
---@return self
function GridAction:startWithTarget (target) end
---* 
---@return self
function GridAction:clone () end
---* 
---@return self
function GridAction:reverse () end