htiled-0.1.4.0: Import from the Tiled map editor.

Safe HaskellSafe
LanguageHaskell98

Data.Tiled.Types

Synopsis

Documentation

type Properties = [(String, String)] Source #

Properties.

data Tileset Source #

A set of tiles that can be used.

Constructors

Tileset 

Fields

data Image Source #

An image containing tiles.

Constructors

Image 

Instances

Eq Image Source # 

Methods

(==) :: Image -> Image -> Bool #

(/=) :: Image -> Image -> Bool #

Show Image Source # 

Methods

showsPrec :: Int -> Image -> ShowS #

show :: Image -> String #

showList :: [Image] -> ShowS #

data Object Source #

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

Instances

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.

Instances

Eq Tile Source # 

Methods

(==) :: Tile -> Tile -> Bool #

(/=) :: Tile -> Tile -> Bool #

Ord Tile Source # 

Methods

compare :: Tile -> Tile -> Ordering #

(<) :: Tile -> Tile -> Bool #

(<=) :: Tile -> Tile -> Bool #

(>) :: Tile -> Tile -> Bool #

(>=) :: Tile -> Tile -> Bool #

max :: Tile -> Tile -> Tile #

min :: Tile -> Tile -> Tile #

Show Tile Source # 

Methods

showsPrec :: Int -> Tile -> ShowS #

show :: Tile -> String #

showList :: [Tile] -> ShowS #