aeson-tiled-0.0.2.1: Aeson instances for the Tiled map editor.
Safe HaskellNone
LanguageHaskell2010

Codec.Tiled.Map

Documentation

data Map Source #

Constructors

Map 

Fields

Instances

Instances details
Eq Map Source # 
Instance details

Defined in Codec.Tiled.Map

Methods

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

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

Show Map Source # 
Instance details

Defined in Codec.Tiled.Map

Methods

showsPrec :: Int -> Map -> ShowS #

show :: Map -> String #

showList :: [Map] -> ShowS #

Generic Map Source # 
Instance details

Defined in Codec.Tiled.Map

Associated Types

type Rep Map :: Type -> Type #

Methods

from :: Map -> Rep Map x #

to :: Rep Map x -> Map #

ToJSON Map Source # 
Instance details

Defined in Codec.Tiled.Map

FromJSON Map Source # 
Instance details

Defined in Codec.Tiled.Map

type Rep Map Source # 
Instance details

Defined in Codec.Tiled.Map

type Rep Map = D1 ('MetaData "Map" "Codec.Tiled.Map" "aeson-tiled-0.0.2.1-3IFO8Z3ijyPIGJuK63SCDZ" 'False) (C1 ('MetaCons "Map" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "backgroundColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "compressionLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "hexSideLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "infinite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "layers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector Layer)) :*: (S1 ('MetaSel ('Just "nextLayerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "nextObjectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "orientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "parallaxOriginX") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "parallaxOriginY") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))) :*: (((S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Vector Property))) :*: S1 ('MetaSel ('Just "renderOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "staggerAxis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "staggerIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tiledVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "tileHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "tilesets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector TilesetRef)) :*: S1 ('MetaSel ('Just "tileWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

pattern ORTHOGONAL :: Text Source #

pattern ISOMETRIC :: Text Source #

pattern STAGGERED :: Text Source #

pattern HEXAGONAL :: Text Source #