Struct tiled::Map [] [src]

pub struct Map {
    pub version: String,
    pub orientation: Orientation,
    pub width: u32,
    pub height: u32,
    pub tile_width: u32,
    pub tile_height: u32,
    pub tilesets: Vec<Tileset>,
    pub layers: Vec<Layer>,
    pub object_groups: Vec<ObjectGroup>,
    pub properties: Properties,
    pub background_colour: Option<Colour>,
}

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

Fields

Methods

impl Map
[src]

This function will return the correct Tileset given a GID.

Trait Implementations

impl Debug for Map
[src]

Formats the value using the given formatter.

impl PartialEq for Map
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.