Codec.Tiled.Tileset.Transformations
data Transformations Source #
Constructors
Fields
Tiles can be flipped horizontally
Tiles can be flipped vertically
Tiles can be rotated in 90-degree increments
Whether untransformed tiles remain preferred, otherwise transformed tiles are used to produce more variations
Defined in Codec.Tiled.Tileset.Transformations
Methods
(==) :: Transformations -> Transformations -> Bool #
(/=) :: Transformations -> Transformations -> Bool #
showsPrec :: Int -> Transformations -> ShowS #
show :: Transformations -> String #
showList :: [Transformations] -> ShowS #
Associated Types
type Rep Transformations :: Type -> Type #
from :: Transformations -> Rep Transformations x #
to :: Rep Transformations x -> Transformations #
toJSON :: Transformations -> Value #
toEncoding :: Transformations -> Encoding #
toJSONList :: [Transformations] -> Value #
toEncodingList :: [Transformations] -> Encoding #
parseJSON :: Value -> Parser Transformations #
parseJSONList :: Value -> Parser [Transformations] #
empty :: Transformations Source #