htiled-0.1.3.0: Import from the Tiled map editor.

Safe HaskellSafe
LanguageHaskell98

Data.Tiled.Types

Synopsis

Documentation

type Properties = [(String, String)] Source

Properties.

data TiledMap Source

A tiled map.

data Tileset Source

A set of tiles that can be used.

Constructors

Tileset 

Fields

tsName :: String
 
tsInitialGid :: Word32
 
tsTileWidth, tsTileHeight :: Int
 
tsSpacing, tsMargin :: Int
 
tsImages :: [Image]

Multiple images not yet supported in tiled.

tsTileProperties :: [(Word32, Properties)]
 

data Image Source

An image containing tiles.

Constructors

Image 

data Object Source

An object, usable for stuff not repetitively aligned on a grid.

data Polygon Source

A polygon.

Constructors

Polygon [(Int, Int)] 

data Polyline Source

A polyline.

Constructors

Polyline [(Int, Int)] 

data Tile Source

A single tile as is stored in a layer.