Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- data MapOrientation
- type Properties = [(String, String)]
- data TiledMap = TiledMap {
- mapPath :: FilePath
- mapOrientation :: MapOrientation
- mapWidth, mapHeight :: Int
- mapTileWidth :: Int
- mapTileHeight :: Int
- mapProperties :: Properties
- mapTilesets :: [Tileset]
- mapLayers :: [Layer]
- data Tileset = Tileset {
- tsName :: String
- tsInitialGid :: Word32
- tsTileWidth, tsTileHeight :: Int
- tsSpacing, tsMargin :: Int
- tsImages :: [Image]
- tsTileProperties :: [(Word32, Properties)]
- data Image = Image {}
- data Object = Object {}
- data Polygon = Polygon [(Int, Int)]
- data Polyline = Polyline [(Int, Int)]
- data Layer
- = Layer {
- layerName :: String
- layerOpacity :: Float
- layerIsVisible :: Bool
- layerProperties :: Properties
- layerData :: Map (Int, Int) Tile
- | ObjectLayer { }
- | ImageLayer { }
- = Layer {
- data Tile = Tile {}
Documentation
data MapOrientation Source
Orientations.
type Properties = [(String, String)] Source
Properties.
A tiled map.
TiledMap | |
|
A set of tiles that can be used.
Tileset | |
|
An image containing tiles.
An object, usable for stuff not repetitively aligned on a grid.
Object | |
|
Either a tile layer or an object layer.
Layer | |
| |
ObjectLayer | |
| |
ImageLayer | |
|