aeson-tiled-0.0.2.3: Aeson instances for the Tiled map editor.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Tiled.Tileset.TileOffset

Documentation

data TileOffset Source #

Constructors

TileOffset 

Fields

  • x :: Int

    Horizontal offset in pixels

  • y :: Int

    Vertical offset in pixels (positive is down)

Instances

Instances details
FromJSON TileOffset Source # 
Instance details

Defined in Codec.Tiled.Tileset.TileOffset

ToJSON TileOffset Source # 
Instance details

Defined in Codec.Tiled.Tileset.TileOffset

Generic TileOffset Source # 
Instance details

Defined in Codec.Tiled.Tileset.TileOffset

Associated Types

type Rep TileOffset :: Type -> Type #

Show TileOffset Source # 
Instance details

Defined in Codec.Tiled.Tileset.TileOffset

Eq TileOffset Source # 
Instance details

Defined in Codec.Tiled.Tileset.TileOffset

type Rep TileOffset Source # 
Instance details

Defined in Codec.Tiled.Tileset.TileOffset

type Rep TileOffset = D1 ('MetaData "TileOffset" "Codec.Tiled.Tileset.TileOffset" "aeson-tiled-0.0.2.3-9wHH27isa6ZHfu1mfHKXfG" 'False) (C1 ('MetaCons "TileOffset" 'PrefixI 'True) (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))