Codec.Tiled.Tileset
data Tileset Source #
Constructors
Fields
Hex-formatted color (#RRGGBB or #AARRGGBB) (optional)
The number of tile columns in the tileset
GID corresponding to the first tile in the set
(optional)
Image used for tiles in this set
Height of source image in pixels
Width of source image in pixels
Buffer between image edge and first tile (pixels)
Name given to this tileset
Alignment to use for tile objects (unspecified (default), topleft, top, topright, left, center, right, bottomleft, bottom or bottomright)
topleft
top
topright
left
center
right
bottomleft
bottom
bottomright
Array of Properties
The external file that contains this tilesets data
Spacing between adjacent tiles in image (pixels)
Array of Terrains (optional)
The number of tiles in this tileset
The Tiled version used to save the file
Maximum height of tiles in this set
Array of Tiles (optional)
Maximum width of tiles in this set
Allowed transformations (optional)
Hex-formatted color (#RRGGBB) (optional)
tileset (for tileset files)
tileset
The JSON format version
Array of Wang sets
Defined in Codec.Tiled.Tileset
Methods
parseJSON :: Value -> Parser Tileset #
parseJSONList :: Value -> Parser [Tileset] #
omittedField :: Maybe Tileset #
toJSON :: Tileset -> Value #
toEncoding :: Tileset -> Encoding #
toJSONList :: [Tileset] -> Value #
toEncodingList :: [Tileset] -> Encoding #
omitField :: Tileset -> Bool #
Associated Types
type Rep Tileset :: Type -> Type #
from :: Tileset -> Rep Tileset x #
to :: Rep Tileset x -> Tileset #
showsPrec :: Int -> Tileset -> ShowS #
show :: Tileset -> String #
showList :: [Tileset] -> ShowS #
(==) :: Tileset -> Tileset -> Bool #
(/=) :: Tileset -> Tileset -> Bool #
empty :: Tileset Source #