File hp/tmx/TMXMapLoader.lua

Functions

M:init () The constructor.
M:loadFile (filename) Read the file format of TMX.
M:loadString (data) Read the string format of TMX.
M:parseNode (node) Reads the node.
M:parseNodeAttributes (node, dest) Please do not accessible from the outside.
M:parseNodeData (node, layer) Please do not accessible from the outside.
M:parseNodeDataForBase64 (node, layer, data) Please do not accessible from the outside.
M:parseNodeDataForCsv (node, layer, data) Please do not accessible from the outside.
M:parseNodeDataForPlane (node, layer, data) Please do not accessible from the outside.
M:parseNodeImage (node, tileset) Please do not accessible from the outside.
M:parseNodeLayer (node) Please do not accessible from the outside.
M:parseNodeMap (node) Please do not accessible from the outside.
M:parseNodeObject (node, group) Please do not accessible from the outside.
M:parseNodeObjectGroup (node) Please do not accessible from the outside.
M:parseNodeProperties (node, dest) Please do not accessible from the outside.
M:parseNodeTile (node, tileset) Please do not accessible from the outside.
M:parseNodeTileset (node) Please do not accessible from the outside.

Tables

TMXMapLoader TMXMapLoader is a class that reads the file format tmx, to create a TMXMap.


Functions

M:init ()
The constructor.
M:loadFile (filename)
Read the file format of TMX.
Returns TMXMap a result of reading.

Parameters

  • filename:

Return value:

TMXMap instance.
M:loadString (data)
Read the string format of TMX.
Returns TMXMap a result of reading.

Parameters

  • data:

Return value:

TMXMap instance.
M:parseNode (node)
Reads the node.
Has been left for inheritance.
Please do not accessible from the outside.

Parameters

  • node:
M:parseNodeAttributes (node, dest)
Please do not accessible from the outside.

Parameters

  • node:
  • dest:
M:parseNodeData (node, layer)
Please do not accessible from the outside.

Parameters

  • node:
  • layer:
M:parseNodeDataForBase64 (node, layer, data)
Please do not accessible from the outside.

Parameters

  • node:
  • layer:
  • data:
M:parseNodeDataForCsv (node, layer, data)
Please do not accessible from the outside.

Parameters

  • node:
  • layer:
  • data:
M:parseNodeDataForPlane (node, layer, data)
Please do not accessible from the outside.

Parameters

  • node:
  • layer:
  • data:
M:parseNodeImage (node, tileset)
Please do not accessible from the outside.

Parameters

  • node:
  • tileset:
M:parseNodeLayer (node)
Please do not accessible from the outside.

Parameters

  • node:
M:parseNodeMap (node)
Please do not accessible from the outside.

Parameters

  • node:
M:parseNodeObject (node, group)
Please do not accessible from the outside.

Parameters

  • node:
  • group:
M:parseNodeObjectGroup (node)
Please do not accessible from the outside.

Parameters

  • node:
M:parseNodeProperties (node, dest)
Please do not accessible from the outside.

Parameters

  • node:
  • dest:
M:parseNodeTile (node, tileset)
Please do not accessible from the outside.

Parameters

  • node:
  • tileset:
M:parseNodeTileset (node)
Please do not accessible from the outside.

Parameters

  • node:

Tables

TMXMapLoader
TMXMapLoader is a class that reads the file format tmx, to create a TMXMap.

Some functions, please do not see from the outside.
Dare, leaving for the inheritance.

Valid XHTML 1.0!