From 52097b6ee7cc8f5a770eb851902560b5b8592218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Feb 2021 21:05:36 +0800 Subject: add meta/3rd with acknowledgement --- meta/3rd/Cocos4.0/cc.FastTMXTiledMap.lua | 89 ++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 meta/3rd/Cocos4.0/cc.FastTMXTiledMap.lua (limited to 'meta/3rd/Cocos4.0/cc.FastTMXTiledMap.lua') diff --git a/meta/3rd/Cocos4.0/cc.FastTMXTiledMap.lua b/meta/3rd/Cocos4.0/cc.FastTMXTiledMap.lua new file mode 100644 index 00000000..e17d742f --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.FastTMXTiledMap.lua @@ -0,0 +1,89 @@ + +---@class cc.FastTMXTiledMap :cc.Node +local FastTMXTiledMap={ } +cc.FastTMXTiledMap=FastTMXTiledMap + + + + +---* Set object groups.
+---* param groups An object groups. +---@param groups array_table +---@return self +function FastTMXTiledMap:setObjectGroups (groups) end +---* Return the value for the specific property name.
+---* 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.
+---* 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.
+---* 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.
+---* return The tiles's size property measured in pixels. +---@return size_table +function FastTMXTiledMap:getTileSize () end +---* The map's size property measured in tiles.
+---* return The map's size property measured in tiles. +---@return size_table +function FastTMXTiledMap:getMapSize () end +---* Get properties.
+---* return Properties. +---@return map_table +function FastTMXTiledMap:getProperties () end +---* Return properties dictionary for tile GID.
+---* 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.
+---* param tileSize The tiles's size property measured in pixels. +---@param tileSize size_table +---@return self +function FastTMXTiledMap:setTileSize (tileSize) end +---* Set properties.
+---* param properties An ValueMap Properties. +---@param properties map_table +---@return self +function FastTMXTiledMap:setProperties (properties) end +---* Return the FastTMXLayer for the specific layer.
+---* return Return the FastTMXLayer for the specific layer. +---@param layerName string +---@return cc.FastTMXLayer +function FastTMXTiledMap:getLayer (layerName) end +---* Get map orientation.
+---* return The map orientation. +---@return int +function FastTMXTiledMap:getMapOrientation () end +---* Set map orientation.
+---* param mapOrientation The map orientation. +---@param mapOrientation int +---@return self +function FastTMXTiledMap:setMapOrientation (mapOrientation) end +---* Creates a TMX Tiled Map with a TMX file.
+---* 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.
+---* param tmxString A TMX formatted XML string.
+---* param resourcePath A path to TMX resources.
+---* 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 -- cgit v1.2.3