loader.getTMX
getTMX(elt: string) → {object}
return the specified TMX/TSX object
Name | Type | Description |
---|---|---|
elt | string |
name of the tmx/tsx element ("map1"); |
Type | Description |
---|---|
object |
requested element or null if not found |