htiled-0.1.0: Import from the Tiled map editor.

Safe HaskellSafe-Inferred

Data.Tiled.Types

Synopsis

Documentation

data MapOrientation Source

Orientations.

Constructors

Orthogonal 
Isometric 

type Properties = [(String, String)]Source

Properties.

data TiledMap Source

A tiled map.

Constructors

TiledMap 

Instances

data Tileset Source

A set of tiles that can be used.

Constructors

Tileset 

Fields

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

Multiple images not yet supported in tiled.

tsTileProperties :: [(Word32, Properties)]
 

Instances

data Image Source

An image containing tiles.

Constructors

Image 

Instances

data Object Source

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

Instances

data Polygon Source

A polygon.

Constructors

Polygon [(Int, Int)] 

Instances

data Polyline Source

A polyline.

Constructors

Polyline [(Int, Int)] 

Instances

data Tile Source

A single tile as is stored in a layer.

Instances