-------------------------------- -- @module GridBase -- @extend Ref -------------------------------- -- @function [parent=#GridBase] setGridSize -- @param self -- @param #size_table size -------------------------------- -- @function [parent=#GridBase] calculateVertexPoints -- @param self -------------------------------- -- @function [parent=#GridBase] afterDraw -- @param self -- @param #cc.Node node -------------------------------- -- @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 -- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2) -------------------------------- -- @function [parent=#GridBase] set2DProjection -- @param self -------------------------------- -- @function [parent=#GridBase] setStep -- @param self -- @param #cc.math::Vector2 array -------------------------------- -- @function [parent=#GridBase] setTextureFlipped -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#GridBase] blit -- @param self -------------------------------- -- @function [parent=#GridBase] setActive -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#GridBase] getReuseGrid -- @param self -- @return int#int ret (return value: int) -------------------------------- -- overload function: initWithSize(size_table) -- -- overload function: initWithSize(size_table, cc.Texture2D, bool) -- -- @function [parent=#GridBase] initWithSize -- @param self -- @param #size_table size -- @param #cc.Texture2D texture2d -- @param #bool bool -- @return bool#bool ret (retunr value: bool) -------------------------------- -- @function [parent=#GridBase] setReuseGrid -- @param self -- @param #int int -------------------------------- -- @function [parent=#GridBase] isActive -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#GridBase] reuse -- @param self -------------------------------- -- overload function: create(size_table) -- -- overload function: create(size_table, cc.Texture2D, bool) -- -- @function [parent=#GridBase] create -- @param self -- @param #size_table size -- @param #cc.Texture2D texture2d -- @param #bool bool -- @return GridBase#GridBase ret (retunr value: cc.GridBase) return nil