Codec.Tiled.Tileset.TileOffset
data TileOffset Source #
Constructors
Fields
Horizontal offset in pixels
Vertical offset in pixels (positive is down)
Defined in Codec.Tiled.Tileset.TileOffset
Methods
parseJSON :: Value -> Parser TileOffset #
parseJSONList :: Value -> Parser [TileOffset] #
omittedField :: Maybe TileOffset #
toJSON :: TileOffset -> Value #
toEncoding :: TileOffset -> Encoding #
toJSONList :: [TileOffset] -> Value #
toEncodingList :: [TileOffset] -> Encoding #
omitField :: TileOffset -> Bool #
Associated Types
type Rep TileOffset :: Type -> Type #
from :: TileOffset -> Rep TileOffset x #
to :: Rep TileOffset x -> TileOffset #
showsPrec :: Int -> TileOffset -> ShowS #
show :: TileOffset -> String #
showList :: [TileOffset] -> ShowS #
(==) :: TileOffset -> TileOffset -> Bool #
(/=) :: TileOffset -> TileOffset -> Bool #