2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module GridBase
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] setGridSize
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #size_table size
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] calculateVertexPoints
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] afterDraw
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Node node
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] beforeDraw
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] isTextureFlipped
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] getGridSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] getStep
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] set2DProjection
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] setStep
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] setTextureFlipped
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] blit
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] setActive
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] getReuseGrid
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, size_table
|
|
|
|
-- @overload self, size_table, cc.Texture2D, bool
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#GridBase] initWithSize
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #size_table size
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return bool#bool ret (retunr value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] setReuseGrid
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #int int
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] isActive
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#GridBase] reuse
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, size_table
|
|
|
|
-- @overload self, size_table, cc.Texture2D, bool
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#GridBase] create
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #size_table size
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
-- @param #bool bool
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return GridBase#GridBase ret (retunr value: cc.GridBase)
|
|
|
|
|
|
|
|
return nil
|