mirror of https://github.com/axmolengine/axmol.git
142 lines
3.9 KiB
Lua
142 lines
3.9 KiB
Lua
|
|
--------------------------------
|
|
-- @module GridBase
|
|
-- @extend Ref
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] setGridSize
|
|
-- @param self
|
|
-- @param #size_table gridSize
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] afterBlit
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] afterDraw
|
|
-- @param self
|
|
-- @param #cc.Node target
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] beforeDraw
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] calculateVertexPoints
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
-- is texture flipped
|
|
-- @function [parent=#GridBase] isTextureFlipped
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- size of the grid
|
|
-- @function [parent=#GridBase] getGridSize
|
|
-- @param self
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
--------------------------------
|
|
-- pixels between the grids
|
|
-- @function [parent=#GridBase] getStep
|
|
-- @param self
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] set2DProjection
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] setStep
|
|
-- @param self
|
|
-- @param #vec2_table step
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] setTextureFlipped
|
|
-- @param self
|
|
-- @param #bool flipped
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] blit
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] setActive
|
|
-- @param self
|
|
-- @param #bool active
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
-- number of times that the grid will be reused
|
|
-- @function [parent=#GridBase] getReuseGrid
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @overload self, size_table
|
|
-- @overload self, size_table, cc.Texture2D, bool
|
|
-- @function [parent=#GridBase] initWithSize
|
|
-- @param self
|
|
-- @param #size_table gridSize
|
|
-- @param #cc.Texture2D texture
|
|
-- @param #bool flipped
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] beforeBlit
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] setReuseGrid
|
|
-- @param self
|
|
-- @param #int reuseGrid
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
-- whether or not the grid is active
|
|
-- @function [parent=#GridBase] isActive
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#GridBase] reuse
|
|
-- @param self
|
|
-- @return GridBase#GridBase self (return value: cc.GridBase)
|
|
|
|
--------------------------------
|
|
-- @overload self, size_table
|
|
-- @overload self, size_table, cc.Texture2D, bool
|
|
-- @function [parent=#GridBase] create
|
|
-- @param self
|
|
-- @param #size_table gridSize
|
|
-- @param #cc.Texture2D texture
|
|
-- @param #bool flipped
|
|
-- @return GridBase#GridBase ret (return value: cc.GridBase)
|
|
|
|
return nil
|