TileMap class

Constructors

TileMap()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int
read / write
layers List<Layer>
read / write
objectGroups List<ObjectGroup>
read / write
properties Map<String, dynamic>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tileHeight int
read / write
tilesets List<Tileset>
read / write
tileWidth int
read / write
width int
read / write

Methods

getTileByGID(int gid) Tile
Retrieve a tile based on its GID [...]
getTileByLocalID(String tilesetName, int localTileId) Tile
Looks up a tile by its tileset and local tile id.
getTileByPhrase(String tilePhrase) Tile
Looks up a tile by a 'tile phrase.' [...]
getTileset(String name) Tileset
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited