2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module TMXMapInfo
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setObjectGroups
|
|
|
|
-- @param self
|
|
|
|
-- @param #array_table array
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setTileSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] initWithTMXFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getOrientation
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] isStoringCharacters
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setLayers
|
|
|
|
-- @param self
|
|
|
|
-- @param #array_table array
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] parseXMLFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getParentElement
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setTMXFileName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] parseXMLString
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXMapInfo] getLayers
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (retunr value: array_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXMapInfo] getTilesets
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (retunr value: array_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getParentGID
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setParentElement
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] initWithXML
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setParentGID
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getLayerAttribs
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getTileSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getTileProperties
|
|
|
|
-- @param self
|
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXMapInfo] getObjectGroups
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (retunr value: array_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getTMXFileName
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setCurrentString
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setProperties
|
|
|
|
-- @param self
|
|
|
|
-- @param #map_table map
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setOrientation
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setTileProperties
|
|
|
|
-- @param self
|
|
|
|
-- @param #map_table map
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setMapSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setStoringCharacters
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getMapSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setTilesets
|
|
|
|
-- @param self
|
|
|
|
-- @param #array_table array
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXMapInfo] getProperties
|
|
|
|
-- @param self
|
|
|
|
-- @return map_table#map_table ret (retunr value: map_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] getCurrentString
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] setLayerAttribs
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return TMXMapInfo#TMXMapInfo ret (return value: cc.TMXMapInfo)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] createWithXML
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @return TMXMapInfo#TMXMapInfo ret (return value: cc.TMXMapInfo)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TMXMapInfo] TMXMapInfo
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|