[][src]Crate tiled

Structs

Colour
Frame
Image
ImageLayer
Layer
Map

All Tiled files will be parsed into this. Holds all the layers and tilesets

Object
ObjectGroup
Tile
Tileset

A tileset, usually the tilesheet image.

Enums

ObjectShape
Orientation
ParseTileError
PropertyValue
TiledError

Errors which occured when parsing the file

Functions

parse

Parse a buffer hopefully containing the contents of a Tiled file and try to parse it.

parse_file

Parse a file hopefully containing a Tiled map and try to parse it. If the file has an external tileset, the tileset file will be loaded using a path relative to the map file's path.

parse_tileset

Parse a buffer hopefully containing the contents of a Tiled tileset.

parse_with_path

Parse a buffer hopefully containing the contents of a Tiled file and try to parse it. This augments parse with a file location: some engines (e.g. Amethyst) simply hand over a byte stream (and file location) for parsing, in which case this function may be required.

Type Definitions

Properties