summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua90
1 files changed, 90 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua b/meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua
new file mode 100644
index 00000000..a35cf02c
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.FastTMXTiledMap.lua
@@ -0,0 +1,90 @@
+---@meta
+
+---@class cc.FastTMXTiledMap :cc.Node
+local FastTMXTiledMap={ }
+cc.FastTMXTiledMap=FastTMXTiledMap
+
+
+
+
+---* Set object groups. <br>
+---* param groups An object groups.
+---@param groups array_table
+---@return self
+function FastTMXTiledMap:setObjectGroups (groups) end
+---* Return the value for the specific property name.<br>
+---* return Return the value for the specific property name.
+---@param propertyName string
+---@return cc.Value
+function FastTMXTiledMap:getProperty (propertyName) end
+---* Set the map's size property measured in tiles.<br>
+---* param mapSize The map's size property measured in tiles.
+---@param mapSize size_table
+---@return self
+function FastTMXTiledMap:setMapSize (mapSize) end
+---* Return the TMXObjectGroup for the specific group. <br>
+---* return Return the TMXObjectGroup for the specific group.
+---@param groupName string
+---@return cc.TMXObjectGroup
+function FastTMXTiledMap:getObjectGroup (groupName) end
+---@overload fun():self
+---@overload fun():self
+---@return array_table
+function FastTMXTiledMap:getObjectGroups () end
+---* The tiles's size property measured in pixels.<br>
+---* return The tiles's size property measured in pixels.
+---@return size_table
+function FastTMXTiledMap:getTileSize () end
+---* The map's size property measured in tiles. <br>
+---* return The map's size property measured in tiles.
+---@return size_table
+function FastTMXTiledMap:getMapSize () end
+---* Get properties.<br>
+---* return Properties.
+---@return map_table
+function FastTMXTiledMap:getProperties () end
+---* Return properties dictionary for tile GID.<br>
+---* return Return properties dictionary for tile GID.
+---@param GID int
+---@return cc.Value
+function FastTMXTiledMap:getPropertiesForGID (GID) end
+---* Set the tiles's size property measured in pixels. <br>
+---* param tileSize The tiles's size property measured in pixels.
+---@param tileSize size_table
+---@return self
+function FastTMXTiledMap:setTileSize (tileSize) end
+---* Set properties. <br>
+---* param properties An ValueMap Properties.
+---@param properties map_table
+---@return self
+function FastTMXTiledMap:setProperties (properties) end
+---* Return the FastTMXLayer for the specific layer. <br>
+---* return Return the FastTMXLayer for the specific layer.
+---@param layerName string
+---@return cc.FastTMXLayer
+function FastTMXTiledMap:getLayer (layerName) end
+---* Get map orientation. <br>
+---* return The map orientation.
+---@return int
+function FastTMXTiledMap:getMapOrientation () end
+---* Set map orientation. <br>
+---* param mapOrientation The map orientation.
+---@param mapOrientation int
+---@return self
+function FastTMXTiledMap:setMapOrientation (mapOrientation) end
+---* Creates a TMX Tiled Map with a TMX file.<br>
+---* return An autorelease object.
+---@param tmxFile string
+---@return self
+function FastTMXTiledMap:create (tmxFile) end
+---* Initializes a TMX Tiled Map with a TMX formatted XML string and a path to TMX resources. <br>
+---* param tmxString A TMX formatted XML string.<br>
+---* param resourcePath A path to TMX resources.<br>
+---* return An autorelease object.
+---@param tmxString string
+---@param resourcePath string
+---@return self
+function FastTMXTiledMap:createWithXML (tmxString,resourcePath) end
+---*
+---@return string
+function FastTMXTiledMap:getDescription () end \ No newline at end of file