axmol/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua

123 lines
4.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TMXTiledMap
-- @extend Node
-- @parent_module ccexp
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] setObjectGroups
-- @param self
-- @param #array_table groups
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
-- return the value for the specific property name
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getProperty
-- @param self
-- @param #string propertyName
2014-03-10 14:04:58 +08:00
-- @return Value#Value ret (return value: cc.Value)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] setMapSize
-- @param self
-- @param #size_table mapSize
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
-- return the TMXObjectGroup for the specific group
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getObjectGroup
-- @param self
-- @param #string groupName
2014-03-10 14:04:58 +08:00
-- @return TMXObjectGroup#TMXObjectGroup ret (return value: cc.TMXObjectGroup)
--------------------------------
-- @overload self
-- @overload self
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getObjectGroups
-- @param self
-- @return array_table#array_table ret (return value: array_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- the tiles's size property measured in pixels
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getTileSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- the map's size property measured in tiles
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getMapSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- properties
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getProperties
-- @param self
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- return properties dictionary for tile GID
-- @function [parent=#TMXTiledMap] getPropertiesForGID
-- @param self
-- @param #int GID
-- @return Value#Value ret (return value: cc.Value)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] setTileSize
-- @param self
-- @param #size_table tileSize
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] setProperties
-- @param self
-- @param #map_table properties
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
-- return the FastTMXLayer for the specific layer
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getLayer
-- @param self
-- @param #string layerName
-- @return experimental::TMXLayer#experimental::TMXLayer ret (return value: cc.experimental::TMXLayer)
2014-03-10 14:04:58 +08:00
--------------------------------
-- map orientation
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] getMapOrientation
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] setMapOrientation
-- @param self
-- @param #int mapOrientation
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap self (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
-- creates a TMX Tiled Map with a TMX file.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] create
-- @param self
-- @param #string tmxFile
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap ret (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
-- initializes a TMX Tiled Map with a TMX formatted XML string and a path to TMX resources
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXTiledMap] createWithXML
-- @param self
-- @param #string tmxString
-- @param #string resourcePath
-- @return experimental::TMXTiledMap#experimental::TMXTiledMap ret (return value: cc.experimental::TMXTiledMap)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#TMXTiledMap] getDescription
-- @param self
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +08:00
return nil