mirror of https://github.com/axmolengine/axmol.git
163 lines
4.5 KiB
Lua
163 lines
4.5 KiB
Lua
|
|
--------------------------------
|
|
-- @module TMXLayer
|
|
-- @extend SpriteBatchNode
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getTileGIDAt
|
|
-- @param self
|
|
-- @param #cc.Vec2 vec2
|
|
-- @param #cc.TMXTileFlags_ tmxtileflags_
|
|
-- @return unsigned int#unsigned int ret (return value: unsigned int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getPositionAt
|
|
-- @param self
|
|
-- @param #cc.Vec2 vec2
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setLayerOrientation
|
|
-- @param self
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] releaseMap
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setTiles
|
|
-- @param self
|
|
-- @param #unsigned int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getLayerSize
|
|
-- @param self
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setMapTileSize
|
|
-- @param self
|
|
-- @param #size_table size
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getLayerOrientation
|
|
-- @param self
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setProperties
|
|
-- @param self
|
|
-- @param #map_table map
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setLayerName
|
|
-- @param self
|
|
-- @param #string str
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] removeTileAt
|
|
-- @param self
|
|
-- @param #cc.Vec2 vec2
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] initWithTilesetInfo
|
|
-- @param self
|
|
-- @param #cc.TMXTilesetInfo tmxtilesetinfo
|
|
-- @param #cc.TMXLayerInfo tmxlayerinfo
|
|
-- @param #cc.TMXMapInfo map
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setupTiles
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- overload function: setTileGID(unsigned int, cc.Vec2, cc.TMXTileFlags_)
|
|
--
|
|
-- overload function: setTileGID(unsigned int, cc.Vec2)
|
|
--
|
|
-- @function [parent=#TMXLayer] setTileGID
|
|
-- @param self
|
|
-- @param #unsigned int int
|
|
-- @param #cc.Vec2 vec2
|
|
-- @param #cc.TMXTileFlags_ tmxtileflags_
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getMapTileSize
|
|
-- @param self
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getProperty
|
|
-- @param self
|
|
-- @param #string str
|
|
-- @return Value#Value ret (return value: cc.Value)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setLayerSize
|
|
-- @param self
|
|
-- @param #size_table size
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getLayerName
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] setTileSet
|
|
-- @param self
|
|
-- @param #cc.TMXTilesetInfo tmxtilesetinfo
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getTileSet
|
|
-- @param self
|
|
-- @return TMXTilesetInfo#TMXTilesetInfo ret (return value: cc.TMXTilesetInfo)
|
|
|
|
--------------------------------
|
|
-- overload function: getProperties()
|
|
--
|
|
-- overload function: getProperties()
|
|
--
|
|
-- @function [parent=#TMXLayer] getProperties
|
|
-- @param self
|
|
-- @return map_table#map_table ret (retunr value: map_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getTileAt
|
|
-- @param self
|
|
-- @param #cc.Vec2 vec2
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] create
|
|
-- @param self
|
|
-- @param #cc.TMXTilesetInfo tmxtilesetinfo
|
|
-- @param #cc.TMXLayerInfo tmxlayerinfo
|
|
-- @param #cc.TMXMapInfo map
|
|
-- @return TMXLayer#TMXLayer ret (return value: cc.TMXLayer)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] addChild
|
|
-- @param self
|
|
-- @param #cc.Node node
|
|
-- @param #int int
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] getDescription
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] removeChild
|
|
-- @param self
|
|
-- @param #cc.Node node
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TMXLayer] TMXLayer
|
|
-- @param self
|
|
|
|
return nil
|