TMXTileset

public class
loom2d.tmx.TMXTileset

Description

A class used to parse and store data from TMX tile sets

API overview

Constructor

TMXTileset ( parentFile: String , element: XMLElement )

Attributes

Public attributes

firstgid: Number
image: TMXImage
margin: Number
name: String
properties: Dictionary.<String, String>
sourcePath: String
spacing: Number
terrainTypes: Vector.<TMXTerrain>
tileheight: Number
tileoffset: TMXTileOffset
tiles: Vector.<TMXTile>
tilewidth: Number

Functions

Public functions

parseTileSet ( element: XMLElement ): Void

Constructor

TMXTileset ( parentFile: String , element: XMLElement )

Attributes

firstgid: Number

image: TMXImage

margin: Number

name: String

properties: Dictionary.<String, String>

sourcePath: String

spacing: Number

terrainTypes: Vector.<TMXTerrain>

tileheight: Number

tileoffset: TMXTileOffset

tiles: Vector.<TMXTile>

tilewidth: Number

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

parseTileSet ( element: XMLElement ): Void

Parameters

element: XMLElement


toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: