Copyright (c) 2013 by Samuel Batista (original by Matt Tuttle based on Thomas Jahn's. Haxe port by Adrien Fischer) This content is released under the MIT License.

Constructor

new(data:FlxTiledMapAsset, ?rootPath:String)

Parameters:

data

Either a string or XML object containing the Tiled map data

rootPath

Path to use as root to resolve any internal file references

Variables

@:value([])layers:Array<TiledLayer> = []

@:value(new TiledPropertySet())properties:TiledPropertySet = new TiledPropertySet()

@:value([])tilesetArray:Array<TiledTileSet> = []

Use for iterating over tilesets, and for merging tilesets (because order is important)

@:value(new Map<String,TiledTileSet>())tilesets:Map<String, TiledTileSet> = new Map<String,TiledTileSet>()

Use to get a tileset by name

Methods

getGidOwner(gid:Int):TiledTileSet

works only after TiledTileSet has been initialized with an image...